I am new to ESPHome and am trying to migrate form using C++ (or Python!).
I want to make sure that an RGB LED is off when I boot.
This code doesn’t work as it confuses the switches. How do I identify each LED
Here is what I tried …
- platform: gpio pin: GPIO32 name: "LED red" switch: - platform: gpio pin: GPIO33 name: "LED green" switch: - platform: gpio pin: GPIO14 name: "LED blue" on_boot: then: - switch.turn_off: LED red - switch.turn_off: LED green - switch.turn_off: LED blue``` By the way I tried your quote marks - without success!! Thanks Bruce