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