Some Minor tweaks to timing and additional notifications for Power Outage #547

This commit is contained in:
ccostan 2020-07-08 12:10:57 -04:00
parent dc7da726c0
commit bb1686da9a
1 changed files with 18 additions and 5 deletions

View File

@ -116,7 +116,7 @@ automation:
from: 'True' from: 'True'
to: 'False' to: 'False'
for: for:
minutes: 5 minutes: 6
condition: condition:
- condition: template - condition: template
@ -161,7 +161,20 @@ automation:
action: action:
- service: climate.set_hvac_mode - service: climate.set_hvac_mode
data: data:
entity_id: entity_id: climate.downstairs
- climate.downstairs hvac_mode: auto
- climate.upstairs - service: climate.set_hvac_mode
hvac_mode: 'auto' data:
entity_id: climate.upstairs
hvac_mode: cool
- service: climate.set_preset_mode
data:
entity_id: climate.upstairs
preset_mode: eco
- service: script.notify_engine
data_template:
title: "Electrical Grid Status {{ (trigger.to_state.state)|replace('True', 'up')|replace('False', 'down') }}."
value1: "All AC systems are set back to normal operations."
who: 'family'
apns_id: 'information'