fix: migrate Nightstand Buttons to Device triggers
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user