Hello I am new into programming ESP32 and Home Assistant and I have a problem with my ESP 32 Home Programm. I watched this video: This is SO Much Better! Getting Started with ESPHome 2021 - YouTube
At Minute 21:00 you can see the full programm. But when I try to install the programm i get this error message:
INFO Reading configuration /config/esphome/esphome-web-81b590.yaml...
ERROR Error while reading config: Invalid YAML syntax:
mapping values are not allowed here
in "/config/esphome/esphome-web-81b590.yaml", line 34, column 6:
id: "LED_LABOR"
^
And in my programm it looks like this:
captive_portal:
output:
-platform: gpio
id: "LED_LABOR"
pin: 14
light:
-platform: binary
output: "LED_LABOR"
name: "LABOR"
I am looking forward to get your help. Thank you in advance;)
PS: I cant put screenshots to my post because i am new.