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
|
entity: input_boolean.sleeping
|
||||||
|
|
||||||
trace_events: zha_event
|
|
||||||
|
|
||||||
toggle_events:
|
toggle_events:
|
||||||
button_long_press:
|
button_long_press:
|
||||||
event_name: zha_event
|
event_name: zha_event
|
||||||
event_data:
|
event_data:
|
||||||
device_ieee: '00:17:88:01:09:27:74:45'
|
device_name: 'bedroom_hue_remote'
|
||||||
args:
|
args:
|
||||||
press_type: 'hold'
|
press_type: 'hold'
|
||||||
button: 'off'
|
button: 'off'
|
||||||
reset_data:
|
reset_data:
|
||||||
device_ieee: '00:17:88:01:09:27:74:45'
|
device_name: 'bedroom_hue_remote'
|
||||||
args:
|
args:
|
||||||
button: 'off'
|
button: 'off'
|
||||||
press_type: 'long_release'
|
press_type: 'long_release'
|
||||||
|
|||||||
Reference in New Issue
Block a user