1
0

Fix alarm

This commit is contained in:
pgrondek 2021-05-10 11:26:51 +02:00
parent 1c25a6ee23
commit 0f8bbbd115

View File

@ -20,25 +20,25 @@
# Use open/close sensors
- platform: state
entity_id: binary_sensor.bathroom_door_open_close
to: 'open'
to: 'on'
- platform: state
entity_id: binary_sensor.bedroom_window_open_close
to: 'open'
to: 'on'
- platform: state
entity_id: binary_sensor.computer_cave_window_1_open_close
to: 'open'
to: 'on'
- platform: state
entity_id: binary_sensor.computer_cave_window_2_open_close
to: 'open'
to: 'on'
- platform: state
entity_id: binary_sensor.freezer_door_on_off
to: 'open'
to: 'on'
- platform: state
entity_id: binary_sensor.front_door_open_close
to: 'open'
to: 'on'
- platform: state
entity_id: binary_sensor.living_room_window_open_close
to: 'open'
to: 'on'
condition:
- condition: state
entity_id: alarm_control_panel.ha_alarm
@ -52,22 +52,22 @@
trigger:
- platform: state
entity_id: binary_sensor.bedroom_window_open_close
to: 'open'
to: 'on'
- platform: state
entity_id: binary_sensor.computer_cave_window_1_open_close
to: 'open'
to: 'on'
- platform: state
entity_id: binary_sensor.computer_cave_window_2_open_close
to: 'open'
to: 'on'
- platform: state
entity_id: binary_sensor.freezer_door_on_off
to: 'open'
to: 'on'
- platform: state
entity_id: binary_sensor.front_door_open_close
to: 'open'
to: 'on'
- platform: state
entity_id: binary_sensor.living_room_window_open_close
to: 'open'
to: 'on'
condition:
- condition: state
entity_id: alarm_control_panel.ha_alarm