RGB led strip yaml help needed

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

What does line 32, 33, and 34 have in them? that error usually means something is formatted wrong.

Nice attempt to format code but best option is to use code tags.
What editor are you using? Yaml does not accept tabs all must be spaces.

thanks all

sorted now was suing tabs