From 64ab9b1e512eb0a678e18f4d760eba1f3c5732a9 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Tue, 24 Sep 2024 21:29:00 +0000 Subject: [PATCH] Added Places to #1472 --- config/.HA_VERSION | 2 +- config/homekit.yaml | 8 ++++++++ config/templates/speech/briefing.yaml | 10 +++++----- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/config/.HA_VERSION b/config/.HA_VERSION index cac27ad4..d8fbb77f 100755 --- a/config/.HA_VERSION +++ b/config/.HA_VERSION @@ -1 +1 @@ -2024.10.0.dev202409170214 \ No newline at end of file +2024.10.0.dev202409230230 \ No newline at end of file diff --git a/config/homekit.yaml b/config/homekit.yaml index 20c9d423..e2de8d83 100755 --- a/config/homekit.yaml +++ b/config/homekit.yaml @@ -65,3 +65,11 @@ entity_config: linked_motion_sensor: binary_sensor.camera3_motion_sensor video_codec: copy stream_source: !secret camera3_stream + camera.poolcam: + linked_motion_sensor: binary_sensor.poolcam_motion_sensor + video_codec: copy + stream_source: !secret camera4_stream + camera.birdseye: + linked_motion_sensor: binary_sensor.birdseye_motion_sensor + video_codec: copy + stream_source: !secret camera5_stream diff --git a/config/templates/speech/briefing.yaml b/config/templates/speech/briefing.yaml index 2dd645a2..a060d775 100755 --- a/config/templates/speech/briefing.yaml +++ b/config/templates/speech/briefing.yaml @@ -63,7 +63,7 @@ {%- if states('sensor.nws_alerts')|int > 0 -%} {%- set alert_description = state_attr('sensor.nws_alerts', 'Alerts') %} - [WEATHER ALERT: Summarize the WHAT, WHEN and IMPACTS. Use the Situation Overview Section to best understand what is going on] + [WEATHER ALERT: Summarize the weather alert and give overall details on any storms. Use the Situation Overview Section to best understand what is going on - Be sure to highlight any impacts to Seminole County or Tallahassee] {{ alert_description }} [END of Weather Alert] {%- endif %} @@ -239,10 +239,10 @@ {% set time = current_date.strftime('%I:%M %p') %} Current date time: {{ month }} {{ day }}, {{ year }} {{ time }} Residents: Location - - Carlo (Dad): {{ states('person.carlo') }} at {{ state_attr('device_tracker.life360_carlo_costanzo', 'place') | replace(' (Costanzo Family)', '') | replace(' (Desantis Family)', '') if state_attr('device_tracker.life360_carlo_costanzo', 'place') != None else 'Away' }} - - Stacey (Mom): {{ states('person.stacey')}} at {{ state_attr('device_tracker.life360_stacey_costanzo', 'place') | replace(' (Costanzo Family)', '') | replace(' (Desantis Family)', '') if state_attr('device_tracker.life360_stacey_costanzo', 'place') != None else 'Away' }} - - Justin (Son): {{ states('person.justin') }} at {{ state_attr('device_tracker.life360_justin_costanzo', 'place') | replace(' (Costanzo Family)', '') | replace(' (Desantis Family)', '') if state_attr('device_tracker.life360_justin_costanzo', 'place') != None else 'Away' }} - - Paige (Daughter): {{ states('person.paige') }} at {{ state_attr('device_tracker.life360_paige_costanzo', 'place') | replace(' (Costanzo Family)', '') | replace(' (Desantis Family)', '') if state_attr('device_tracker.life360_paige_costanzo', 'place') != None else 'Away' }} + - Carlo (Dad): {{ states('person.carlo') }} at {{ states('sensor.carlo_place') if states('sensor.carlo_place') != None else 'Away' }} + - Stacey (Mom): {{ states('person.stacey')}} at {{ states('sensor.stacey_place') if states('sensor.stacey_place') != None else 'Away' }} + - Justin (Son): {{ states('person.justin') }} at {{ states('sensor.justin_place') if states('sensor.justin_place') != None else 'Away' }} + - Paige (Daughter): {{ states('person.paige') }} at {{ states('sensor.paige_place') if states('sensor.paige_place') != None else 'Away' }} and our cat Molly: Always home. Previous broadcast: "{{ state_attr('sensor.openai_response', 'response') }}" [Avoid repeating information from the previous broadcast if it was within the hour]