From 23b5852b4692d302c73cc66d142d19bcd70aa305 Mon Sep 17 00:00:00 2001 From: "J.P. Krauss" Date: Sat, 4 Feb 2023 11:57:59 -0800 Subject: [PATCH] Update Lighting Triggers --- packages/lighting/lighting.yaml | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/packages/lighting/lighting.yaml b/packages/lighting/lighting.yaml index c691ea8..4963064 100644 --- a/packages/lighting/lighting.yaml +++ b/packages/lighting/lighting.yaml @@ -250,11 +250,9 @@ automation: - alias: Jen Nightstand Lamp mode: single trigger: - - device_id: a85d050e98905eff807d5f57aaad746c - domain: zha - platform: device - type: remote_button_short_press - subtype: remote_button_short_press + - platform: state + entity_id: sensor.jen_nighstand_button_action + to: 'single' condition: [] action: - type: toggle @@ -265,11 +263,9 @@ automation: - alias: J.P. Nightstand Lamp mode: single trigger: - - device_id: e1e21d85a17dee3ab46195ed51b8b257 - domain: zha - platform: device - type: remote_button_short_press - subtype: remote_button_short_press + - platform: state + entity_id: sensor.jp_nighstand_button_action + to: 'single' condition: [] action: - type: toggle @@ -315,11 +311,9 @@ automation: - alias: Dining Room Dim on Double Up Press mode: single trigger: - - device_id: cab3202d50d68353c9d8a7648c93052f - domain: zha - platform: device - type: remote_button_double_press - subtype: Up + - platform: state + entity_id: light.dining_room_light + to: 'up_double' action: - service: scene.turn_on target: