esphome: name: rgb_youtube esp8266: board: nodemcuv2 wifi: ssid: !secret wifi_ssid password: !secret wifi_password ap: ssid: "RGB Buero" password: "gWef1LCbEILB" captive_portal: logger: api: encryption: key: !secret api_encryption_key ota: platform: esphome password: !secret ota_password light: - platform: rgb name: "SmartHome yourself RGB" red: rgb_shys_1 green: rgb_shys_2 blue: rgb_shys_3 output: - platform: esp8266_pwm id: rgb_shys_1 pin: D5 - platform: esp8266_pwm id: rgb_shys_2 pin: D6 - platform: esp8266_pwm id: rgb_shys_3 pin: D2