From b792037433150888a05cd3c102d62aeabcd1e7e4 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Mon, 18 Jan 2021 23:28:22 +0100 Subject: [PATCH] Add more sensors to alarm --- automations/files/alarm.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/automations/files/alarm.yaml b/automations/files/alarm.yaml index 5a1f380..6511be2 100644 --- a/automations/files/alarm.yaml +++ b/automations/files/alarm.yaml @@ -20,6 +20,15 @@ - platform: state entity_id: binary_sensor.front_door_open_close to: 'open' + - platform: state + entity_id: binary_sensor.bedroom_window_open_close + to: 'open' + - platform: state + entity_id: binary_sensor.balcony_window_open_close + to: 'open' + - platform: state + entity_id: binary_sensor.balcony_window_cc_open_close + to: 'open' condition: - condition: state entity_id: alarm_control_panel.ha_alarm @@ -34,6 +43,15 @@ - platform: state entity_id: binary_sensor.front_door_open_close to: 'open' + - platform: state + entity_id: binary_sensor.bedroom_window_open_close + to: 'open' + - platform: state + entity_id: binary_sensor.balcony_window_open_close + to: 'open' + - platform: state + entity_id: binary_sensor.balcony_window_cc_open_close + to: 'open' condition: - condition: state entity_id: alarm_control_panel.ha_alarm