Modified guest automations

This commit is contained in:
Jeffrey Stone 2020-01-03 12:29:32 -05:00
parent edf57e5d2e
commit 7ce909632a
2 changed files with 22 additions and 2 deletions

View File

@ -395,7 +395,7 @@
initial_state: true
trigger:
- platform: time
at: '19:00:00'
at: '19:30:00'
condition:
- condition: state
entity_id: input_boolean.guest_mode

View File

@ -376,6 +376,8 @@ automation:
entity_id:
- person.jeffrey
- person.katherine
- person.uncle_matt
- person.papa
from: 'not_home'
to: 'home'
condition:
@ -386,6 +388,7 @@ automation:
- service: script.family_is_home
- service: script.ah_report
data_template:
call_interuption: 1
welcome_home: >
{% set person = trigger.to_state.attributes.friendly_name %}
{%- macro greeting_sentence(person) -%}
@ -398,9 +401,26 @@ automation:
] | random }}
{%- endmacro -%}
{{greeting_sentence(person)}}
call_interuption: 1
- id: guests_have_arrived
alias: Guests have arrived
trigger:
- entity_id: person.papa
event: enter
platform: zone
zone: zone.home
- entity_id: person.uncle_matt
event: enter
platform: zone
zone: zone.home
action:
- service: script.standby
- service: script.family_is_home
- service: input_boolean.turn_on
entity_id: input_boolean.guest_mode
initial_state: true
script:
jeff_destination_zoo:
sequence: