Fix alarm
This commit is contained in:
parent
1c25a6ee23
commit
0f8bbbd115
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user