This commit is contained in:
Carlo Costanzo 2025-06-10 15:42:09 -04:00
parent db41e60123
commit 8b0844299b
3 changed files with 23 additions and 18 deletions

View File

@ -17,3 +17,20 @@
data:
NestStatus: "The {{ trigger.entity_id.split('.')[1].split('_')[0]}} {{ trigger.entity_id.split('.')[1].split('_')[1]}} has now been turned on for {{(trigger.to_state.state)}}."
call_window_check: 1
- alias: 'Prevent Upstairs Nest Below 76'
id: 7812fdaf-a3f8-498b-8f07-28e977e528ff
trigger:
- platform: numeric_state
entity_id: climate.upstairs
attribute: temperature
below: 76
action:
- delay:
minutes: 3
- service: climate.set_temperature
data:
entity_id: climate.upstairs
temperature: 77

View File

@ -8,7 +8,7 @@ automation:
trigger:
- platform: numeric_state
entity_id: sensor.speedtest_download
below: 400
below: 300
- platform: numeric_state
entity_id: sensor.speedtest_upload
below: 300
@ -30,7 +30,7 @@ automation:
value1: >-
Download: {{ states('sensor.speedtest_download') }} Mbps,
Upload: {{ states('sensor.speedtest_upload') }} Mbps.
value2: "One or both speeds are below 400 Mbps."
value2: "One or both speeds are below 300 Mbps."
who: "parents"
group: "information"
level: "active"
@ -38,18 +38,18 @@ automation:
- alias: "Notify Carlo if Internet Speed is Restored"
id: notify-carlo-internet-speed-restored
description: "Sends a notification to Carlo's phone when download and upload speeds are back above 400/300 Mbps."
description: "Sends a notification to Carlo's phone when download and upload speeds are back above 300/300 Mbps."
trigger:
- platform: numeric_state
entity_id: sensor.speedtest_download
above: 400
above: 300
- platform: numeric_state
entity_id: sensor.speedtest_upload
above: 300
condition:
- condition: numeric_state
entity_id: sensor.speedtest_download
above: 400
above: 300
- condition: numeric_state
entity_id: sensor.speedtest_upload
above: 300

View File

@ -246,41 +246,29 @@
{% else -%}
Away
{% endif -%}
# {%- if states('person.carlo') != 'home' %}
# (Direction of travel: {{ state_attr('sensor.carlo_place', 'direction_of_travel') }})
# {% endif -%}
- Stacey: {{ states('person.stacey') }} at
{%- if states('sensor.stacey_place') != 'unknown' %}
{{ states('sensor.stacey_place') }}
{% else -%}
Away
{% endif -%}
# {%- if states('person.stacey') != 'home' %}
# (Direction of travel: {{ state_attr('sensor.stacey_place', 'direction_of_travel') }})
# {% endif -%}
- Justin: {{ states('person.justin') }} at
{%- if states('sensor.justin_place') != 'unknown' %}
{{ states('sensor.justin_place') }}
{% else -%}
Away
{% endif -%}
# {%- if states('person.justin') != 'home' %}
# (Direction of travel: {{ state_attr('sensor.justin_place', 'direction_of_travel') }})
# {% endif -%}
- Paige: {{ states('person.paige') }} at
{%- if states('sensor.paige_place') != 'unknown' %}
{{ states('sensor.paige_place') }}
{% else -%}
Away
{% endif -%}
# {%- if states('person.paige') != 'home' %}
# (Direction of travel: {{ state_attr('sensor.paige_place', 'direction_of_travel') }})
# {% endif -%}
{% if range(1, 100) | random <= 25 %}
and our cat Molly: Always home.
{% endif %}
Previous broadcast: "{{ state_attr('sensor.openai_response', 'response') }}"
[For each person, mention their location. If they are not at home, briefly state where they are and approximately how long they have been there, using relative time e.g., about 30 minutes, around 2 hours, not exact timestamps. If the same location update has already been broadcasted, do not repeat it.]
[For each person, mention their location. If the same location update has already been broadcasted, do not repeat it.]
New Information:
{% if call_no_announcement != 1 %}