diff --git a/susannes_wordclock.yaml b/susannes_wordclock.yaml index d947563..4680d96 100644 --- a/susannes_wordclock.yaml +++ b/susannes_wordclock.yaml @@ -5,6 +5,11 @@ esp8266: board: d1_mini framework: version: recommended +# esp32: +# board: ttgo-t7-v13-mini32 +# framework: +# type: arduino + external_components: - source: @@ -34,6 +39,23 @@ ota: logger: +select: + - platform: template + name: "Template select" + restore_value: true + set_action: + - lambda: |- + return id(wordclock_1)->set_effect_active(false); + optimistic: true + options: + - effect + - color + initial_option: effect + +web_server: + port: 80 + version: 1 + time: - platform: sntp id: current_time @@ -46,10 +68,12 @@ light: type: GRB variant: WS2812 pin: GPIO3 + # pin: GPIO22 num_leds: 198 restore_mode: ALWAYS_OFF method: type: esp8266_dma + # type: esp32_i2s effects: - addressable_random_twinkle: @@ -86,6 +110,7 @@ color: blue: 0% wordclock: + id: wordclock_1 time_id: current_time display_id: led_matrix_display addressable_light_id: neopixel_strip_1