diff --git a/configuration/automations/hallway.yaml b/configuration/automations/hallway.yaml index 14de4bc..44c947b 100644 --- a/configuration/automations/hallway.yaml +++ b/configuration/automations/hallway.yaml @@ -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'