Tweaking automation flow

This commit is contained in:
Jeffrey Stone
2020-11-14 10:27:35 -05:00
parent a2c75ab131
commit eb44689590
3 changed files with 52 additions and 106 deletions

View File

@@ -399,6 +399,7 @@ automation:
- id: welcome_home
alias: Welcome Home
mode: queued
trigger:
- platform: state
entity_id:
@@ -413,9 +414,10 @@ automation:
entity_id: sensor.family_status
state: Home
action:
- service: script.family_is_home
- wait_template: >-
{{ states.binary_sensor.laundry_room_door.state == 'on' }}
# - service: script.family_is_home
# - wait_template: >-
# {{ states.binary_sensor.laundry_room_door.state == 'on' }}
- delay: 00:01:30
- service: script.ah_report
data_template:
call_interuption: 1

View File

@@ -530,10 +530,10 @@ automation:
value_template: '{{ states.sensor.back_porch.attributes.strike_count | int == states.sensor.lightning_total_count.state | int }}'
for:
minutes: 20
condition:
- condition: state
entity_id: input_boolean.lightning_warning
state: 'on'
# condition:
# - condition: state
# entity_id: input_boolean.lightning_warning
# state: 'on'
action:
- service: script.text_notify
data_template: