Tweeking welcome home announcment

This commit is contained in:
Jeffrey Stone 2021-11-25 22:54:45 -05:00
parent f703ece0d7
commit bcb1f4467a
2 changed files with 17 additions and 2 deletions

View File

@ -207,7 +207,7 @@ script:
- service: script.status_annc
data_template:
who: '{{ states.sensor.room_presence.state }}'
message: !include ../templates/speech/security_briefing.yaml
speech_message: !include ../templates/speech/security_briefing.yaml
welcome_briefing:
sequence:

View File

@ -5,6 +5,21 @@
# @description : A Collection of Presence Related Trackers and Sensors
###############################################################################
input_datetime:
last_time_home_jeff:
name: Jeff Last Seen
has_date: true
has_time: true
last_time_home_kat:
name: Kat Last Seen
has_date: true
has_time: true
last_time_home_skylar:
name: Skylar Last Seen
has_date: true
has_time: true
# Testing Proximity Sensors
proximity:
home_jeff:
@ -54,7 +69,7 @@ sensor:
friendly_name: "Skylar's Current Location"
unit_of_measurement: ''
value_template: >-
{% if is_state('input_boolean.skylar_school', 'on') or is_state('person.skylar', 'Starling')%}
{% if is_state('input_boolean.skylar_school', 'on') %}
school
{% elif is_state('calendar.skylar_events', 'on') %}
{{ states.calendar.skylar_events.attributes.message }}