Expose identify LED as a switch to avoid noise

This commit is contained in:
2025-02-08 13:27:19 +01:00
parent 8614d7f8a3
commit 612622140b
+8 -10
View File
@@ -36,18 +36,16 @@ status_led:
# Red LED on the front panel.
pin: GPIO16
light:
- platform: binary
switch:
- platform: gpio
# Exposing this as a switch rather than light to avoid
# automations and dashboard picking it up as illuminance
# source.
name: "Identify LED (white)"
id: mystrom_led_identify
restore_mode: ALWAYS_OFF
output: mystrom_led_white
output:
- id: mystrom_led_white
platform: gpio
pin: GPIO17
inverted: true
pin:
number: GPIO17
inverted: true
binary_sensor:
- platform: gpio