From 7ce909632aae46b26629f0c7c55080f9b096a93c Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Fri, 3 Jan 2020 12:29:32 -0500 Subject: [PATCH] Modified guest automations --- config/automations.yaml | 2 +- config/packages/presence.yaml | 22 +++++++++++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/config/automations.yaml b/config/automations.yaml index a20ca2c..de757af 100644 --- a/config/automations.yaml +++ b/config/automations.yaml @@ -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 diff --git a/config/packages/presence.yaml b/config/packages/presence.yaml index 911b43d..59ba9cb 100755 --- a/config/packages/presence.yaml +++ b/config/packages/presence.yaml @@ -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,8 +401,25 @@ 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: