Fix hallway automation sensor
This commit is contained in:
parent
e7581717ff
commit
a999a7ec6d
@ -2,16 +2,24 @@
|
||||
alias: '[Hallway] Super sensor reset'
|
||||
mode: restart
|
||||
trigger:
|
||||
- entity_id: binary_sensor.hallway_motion_sensor
|
||||
- platform: state
|
||||
entity_id: binary_sensor.hallway_motion_sensor
|
||||
for: 00:00:05
|
||||
from: 'off'
|
||||
platform: state
|
||||
to: 'on'
|
||||
action:
|
||||
- data_template:
|
||||
entity_id: binary_sensor.hallway_motion_sensor
|
||||
state: 'off'
|
||||
service: python_script.set_state
|
||||
# - service: python_script.set_state
|
||||
# data_template:
|
||||
# entity_id: binary_sensor.hallway_motion_sensor
|
||||
# state: 'off'
|
||||
- service: zha.set_zigbee_cluster_attribute
|
||||
data:
|
||||
ieee: 00:15:8d:00:07:75:31:c0
|
||||
endpoint_id: 1
|
||||
cluster_id: 1280
|
||||
cluster_type: in
|
||||
attribute: 2
|
||||
value: '0'
|
||||
|
||||
- id: hallway-button
|
||||
alias: '[Hallway] Button single press'
|
||||
|
Loading…
Reference in New Issue
Block a user