diff --git a/config/automation/Speech/nest.yaml b/config/automation/Speech/nest.yaml index 8439ddc9..1c7da52c 100755 --- a/config/automation/Speech/nest.yaml +++ b/config/automation/Speech/nest.yaml @@ -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 + + diff --git a/config/packages/speedtest.yaml b/config/packages/speedtest.yaml index f4079533..47910c92 100644 --- a/config/packages/speedtest.yaml +++ b/config/packages/speedtest.yaml @@ -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 diff --git a/config/templates/speech/briefing.yaml b/config/templates/speech/briefing.yaml index 8ad617fb..33c8370d 100755 --- a/config/templates/speech/briefing.yaml +++ b/config/templates/speech/briefing.yaml @@ -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 %}