fix: migrate Nightstand Buttons to Device triggers

This commit is contained in:
2025-09-28 08:07:27 -07:00
parent 3c704d0fbc
commit 36bb43728d

View File

@@ -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