Esphome: Added RGB status led
This commit is contained in:
@@ -164,6 +164,28 @@ binary_sensor:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# ---------------------- Status led ----------------------
|
||||||
|
output:
|
||||||
|
- platform: esp8266_pwm
|
||||||
|
id: status_led_red
|
||||||
|
pin: D0
|
||||||
|
- platform: esp8266_pwm
|
||||||
|
id: status_led_green
|
||||||
|
pin: D4
|
||||||
|
- platform: esp8266_pwm
|
||||||
|
id: status_led_blue
|
||||||
|
pin: D3
|
||||||
|
|
||||||
|
light:
|
||||||
|
- platform: rgb
|
||||||
|
id: status_led
|
||||||
|
name: "Status led"
|
||||||
|
red: status_led_red
|
||||||
|
green: status_led_green
|
||||||
|
blue: status_led_blue
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# ---------------------- REMOVE FROM THERE TO END OF FILE WHEN TESTING FINISHED ----------------------
|
# ---------------------- REMOVE FROM THERE TO END OF FILE WHEN TESTING FINISHED ----------------------
|
||||||
|
|
||||||
api:
|
api:
|
||||||
|
|||||||
Reference in New Issue
Block a user