substitutions: device_name: "kersthuis-01" friendly_name: "kersthuis-01" comment: "esp32-c3" location: "woonkamer" api_password: !secret kersthuis-01_api ip: !secret kersthuis-01_ip ota_password: !secret ota_password wifi_ssid: !secret wifi_ssid wifi_password: !secret wifi_password gateway: !secret ip_gateway subnet: !secret ip_subnet pin_led1: GPIO3 pin_button: GPIO4 packages: board: !include boards/esp32-C3.yaml device_base: !include common/common.yaml connection: !include common/wifi.yaml # status: !include templates/status.yaml logger: !include templates/logger.yaml light: - platform: monochromatic id: led_lights restore_mode: RESTORE_DEFAULT_ON output: leds name: "led string 1" effects: - flicker: name: "Flicker" alpha: 95% intensity: 1.5% output: - platform: ledc pin: ${pin_led1} id: leds # binary_sensor: # - platform: gpio # name: "Button" # pin: ${pin_button} # filters: # - delayed_on: 20ms # on_click: # min_length: 50ms # max_length: 1000ms # then: # - light.toggle: # id: led_lights