diff --git a/config/packages/announcements.yaml b/config/packages/announcements.yaml index dec580c..f23df20 100755 --- a/config/packages/announcements.yaml +++ b/config/packages/announcements.yaml @@ -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: diff --git a/config/packages/presence.yaml b/config/packages/presence.yaml index e0ec4b6..2190441 100755 --- a/config/packages/presence.yaml +++ b/config/packages/presence.yaml @@ -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 }}