41 lines
936 B
YAML
41 lines
936 B
YAML
|
|
substitutions:
|
|
device_name: "kersthuis-02"
|
|
friendly_name: "kersthuis-02"
|
|
comment: "esp32-c3"
|
|
location: "woonkamer"
|
|
api_password: !secret kersthuis-02_api
|
|
ip: !secret kersthuis-02_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
|
|
|
|
|
|
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: esp32_rmt_led_strip
|
|
rmt_channel: 0
|
|
is_rgbw: true
|
|
id: led_lights
|
|
restore_mode: RESTORE_DEFAULT_ON
|
|
name: "kersthuisje2"
|
|
chipset: SK6812
|
|
rgb_order: GRB
|
|
num_leds: 1
|
|
pin: ${pin_led1}
|
|
effects:
|
|
- flicker:
|
|
name: "Flicker"
|
|
alpha: 95%
|
|
intensity: 1.5%
|
|
|