feat(esp8266): random changes to now abandonned esp8266 platform.

This commit is contained in:
Philip Stark 2023-06-10 13:53:48 +02:00
parent 3e31b32853
commit 4e9041aec5

View file

@ -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