According to the manual my yaml should be fine:
But since latest esphome I get an error:
My YAML:
esphome:
name: ledstrip
esp8266:
framework:
version: 2.7.4
board: d1_mini
## https://esphome.io/components/light/fastled.html
substitutions:
esp_name: ledstrip
wifi:
ssid: "ssid"
password: !secret ssid_wifi_key
domain: !secret domain
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "${esp_name} Fallback Hotspot"
password: !secret Fallback_Hotspot
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
light:
- platform: fastled_clockless
chipset: WS2812B
pin: D3
num_leds: 240
rgb_order: GRB
name: "LEDstrip"
effects:
- addressable_rainbow:
- addressable_rainbow:
name: Rainbow Effect With Custom Values
speed: 10
width: 50
- addressable_color_wipe:
- addressable_color_wipe:
name: Color Wipe Effect With Custom Values
colors:
- red: 100%
green: 100%
blue: 100%
num_leds: 1
- red: 0%
green: 0%
blue: 0%
num_leds: 1
add_led_interval: 100ms
reverse: False
- addressable_twinkle:
- addressable_twinkle:
name: Twinkle Effect With Custom Values
twinkle_probability: 5%
progress_interval: 4ms
- addressable_fireworks:
- addressable_fireworks:
name: Fireworks Effect With Custom Values
update_interval: 32ms
spark_probability: 10%
use_random_color: false
fade_out_rate: 120
text_sensor:
- platform: version
name: "${esp_name} - ESPHome Version"
Whats wrong? What do I need to change here now?