hi there Ive had a play with a few sensors in ESP home but wanted to add a LED strip
this is my YAML file but its failing to validate can someone please look and give me some pointers passwords etc removed
esphome:
name: led_strip
platform: ESP8266
board: nodemcuv2
wifi:
ssid: “##########”
password: “~~~~~~a”
Enable logging
logger:
Enable Home Assistant API
api:
password: ‘I########’
ota:
password: ‘I########’
Example configuration entry
light:
- platform: rgb
name: “Living Room Lights”
red: output_component1
green: output_component2
blue: output_component3
Example output entry
output:
- platform: esp8266_pwm
id: output_component1
pin: D1
Repeat for green and blue output
output:
- platform: esp8266_pwm
id: output_component2
pin: D2
output: - platform: esp8266_pwm
id: output_component3
pin: D3
fails with this error
INFO Reading configuration… ERROR Error while reading config: while parsing a block mapping in “/config/esphome/led_strip.yaml”, line 1, column 1 expected <block end>, but found ‘<block mapping start>’ in “/config/esphome/led_strip.yaml”, line 33, column 3