From 36bb43728db26ce101230b84916af2bed3c808de Mon Sep 17 00:00:00 2001 From: "J.P. Krauss" Date: Sun, 28 Sep 2025 08:07:27 -0700 Subject: [PATCH] fix: migrate Nightstand Buttons to Device triggers --- packages/lighting/lighting.yaml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/packages/lighting/lighting.yaml b/packages/lighting/lighting.yaml index 99b8cfe..9ff1747 100644 --- a/packages/lighting/lighting.yaml +++ b/packages/lighting/lighting.yaml @@ -250,9 +250,11 @@ automation: - alias: Jen Nightstand Lamp mode: single trigger: - - platform: state - entity_id: sensor.jen_nightstand_button_action - to: 'single' + - trigger: device + domain: mqtt + device_id: fc6ade603bf6978d6a357f19aee52aea + type: action + subtype: single condition: [] action: - type: toggle @@ -263,9 +265,11 @@ automation: - alias: J.P. Nightstand Lamp mode: single trigger: - - platform: state - entity_id: sensor.jp_nightstand_button_action - to: 'single' + - trigger: device + domain: mqtt + device_id: d7247f6ae03db605aad8a5ff7de60331 + type: action + subtype: single condition: [] action: - type: toggle