Added automation for vacation mode

This commit is contained in:
Jeffrey Stone 2018-03-27 21:03:37 -04:00
parent 79f43db02c
commit 5f344c90fa
1 changed files with 20 additions and 3 deletions

View File

@ -17,8 +17,6 @@
- service: input_boolean.turn_on
entity_id: input_boolean.jeff_heading_home
##### Jeff Traffic Alerts
- alias: Enable Jeff Bad Traffic Home
trigger:
@ -48,3 +46,22 @@
action:
- service: input_boolean.turn_off
entity_id: input_boolean.jeff_traffic_alert_home
- alias: Enable Vacation Mode
trigger:
- platform: numeric_state
entity_id: sensor.jeff_ett_home
above: 180
- platform: numeric_state
entity_id: sensor.kat_ett_home
above: 180
condition:
- condition: numeric_state
entity_id: sensor.jeff_ett_home
above: 180
- condition: numeric_state
entity_id: sensor.kat_ett_home
above: 180
action:
- service: input_boolean.turn_on
entity_id: input_boolean.vacation_mode