Update AC triggers

This commit is contained in:
2020-06-27 18:40:56 +03:00
parent 28e278216d
commit 3767c1bf1a
2 changed files with 8 additions and 2 deletions
@@ -80,7 +80,7 @@ automation:
- platform: state - platform: state
entity_id: entity_id:
- binary_sensor.living_room_right_window - binary_sensor.living_room_right_window
- binary_sensor.bedroom_right_window - group.bedroom_windows
from: "on" from: "on"
to: "off" to: "off"
condition: condition:
@@ -99,7 +99,7 @@ automation:
entity_id: binary_sensor.living_room_right_window entity_id: binary_sensor.living_room_right_window
state: "off" state: "off"
- condition: state - condition: state
entity_id: binary_sensor.bedroom_right_window entity_id: group.bedroom_windows
state: "off" state: "off"
- condition: state - condition: state
entity_id: climate.toshiba_ac entity_id: climate.toshiba_ac
@@ -7,6 +7,12 @@ group:
- binary_sensor.bedroom_right_window - binary_sensor.bedroom_right_window
- binary_sensor.kitchen_window - binary_sensor.kitchen_window
bedroom_windows:
name: Bedroom windows
entities:
- binary_sensor.bedroom_left_window
- binary_sensor.bedroom_right_window
binary_sensor: binary_sensor:
- platform: mqtt - platform: mqtt
name: "Living room right window" name: "Living room right window"