refactor sleep_switch event handling to use device_name instead of device_ieee
This commit is contained in:
Submodule apps/ad_toolbox updated: 7dd39e0ea9...261132d9af
@@ -28,18 +28,16 @@ sleep_switch:
|
||||
|
||||
entity: input_boolean.sleeping
|
||||
|
||||
trace_events: zha_event
|
||||
|
||||
toggle_events:
|
||||
button_long_press:
|
||||
event_name: zha_event
|
||||
event_data:
|
||||
device_ieee: '00:17:88:01:09:27:74:45'
|
||||
device_name: 'bedroom_hue_remote'
|
||||
args:
|
||||
press_type: 'hold'
|
||||
button: 'off'
|
||||
reset_data:
|
||||
device_ieee: '00:17:88:01:09:27:74:45'
|
||||
device_name: 'bedroom_hue_remote'
|
||||
args:
|
||||
button: 'off'
|
||||
press_type: 'long_release'
|
||||
|
||||
Reference in New Issue
Block a user