ESP32 COM MUITA AUTOMAÇÃO RESIDENCIAL | HOME ASSISTANT PARECE QUE É UMA MUDANÇA RADICAL...

output: platform: ledc pin: GPIO23 # Pin for PWM output id: pwm_output frequency: 1000 Hz # PWM frequency, adjust as needed inverted: true platform: gpio pin: 5 id: gpio_5 inverted: true light: platform: monochromatic output: pwm_output name: "Dimmed Light" platform: binary name: "LED GPIO 5" output: gpio_5 binary_sensor: platform: gpio pin: number: GPIO4 mode: INPUT_PULLUP # Activates an internal pull-up resistor inverted: true name: "Input Button" sensor: platform: adc pin: GPIO36 # Define the analog pin, on the ESP32 use ADC pins (such as GPIO32 to GPIO39) name: "Analog Sensor 36" update_interval: 1s # Update interval attenuation: 11db # Defines the voltage range that the ESP32 will read (optional) filters: - multiply: 3.3 # Adjust to calibrate the value read for the 0-3.3V range - platform: adc pin: GPIO39 # Define the analog pin; on the ESP32, use ADC pins (such as GPIO32 to GPIO39) name: "Analog Sensor 39" update_interval: 1s # Update interval attenuation: 11db # Defines the voltage range that the ESP32 will read (optional) filters: - multiply: 3.3 # Adjust to calibrate the value read for the 0-3.3V range