Compact garage bin notification text (#2022)

master
Carlo Costanzo 1 month ago
parent eb8251360c
commit 30f061a618

@ -34,6 +34,7 @@ Speech-first automations: contextual announcements, stats briefings, guest mode
### Tips
- Pairs with `script/speech_engine.yaml` and `templates/speech/briefing.yaml` for reusable phrasing.
- Garage bin alerts use the short "Garage Bins" title and single-line shared reminder text so the phone can wrap naturally. iOS controls Priority Notifications styling and text size (Issue #2022).
- Keep announcements natural and action-first; the LLM prompt should avoid previous-message repetition and include weather when requested, safety-relevant, or still useful before late-day context takes over.
- Airly's nearest-monitor CAQI is the primary local reading and stays silent below medium (50); Pirate Weather US AQI is a safety backstop at 101 or higher. Normal readings are never added to speech. [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/Gjk7z34Qe_4) [![vCloudInfo Blog Post](https://img.shields.io/static/v1?label=vCloudInfo&message=Blog%20Post&color=21759B&logo=wordpress&logoColor=white)](https://www.vcloudinfo.com/2026/07/home-assistant-air-quality-airly-pirate-weather.html)
- Briefing context includes quiet-by-default Tesla, energy, water, comfort, and vacuum checks so routine announcements stay useful without repeating normal status.

@ -4,6 +4,7 @@
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# -------------------------------------------------------------------
# Garage Garbage Day Reminders - actionable, snoozable garage alerts
# Related Issue: 2022
# Notify Carlo and announce at 30s/90s/180s if the garage stays open.
# -------------------------------------------------------------------
# Notes: Carlo's push offers 30-minute and 2-hour snooze actions. The
@ -122,7 +123,7 @@
- parallel:
- service: script.notify_engine_two_button
data:
title: "Garbage Day Reminder"
title: "Garage Bins"
value1: "{{ reminder_message }}"
who: 'carlo'
group: 'Garbage_Reminders'

@ -0,0 +1,62 @@
{#
######################################################################
# @CCOSTAN - Follow Me on X
# For more info visit https://www.vcloudinfo.com/click-here
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# -------------------------------------------------------------------
# Garage Bin Reminder - Shared take-out and bring-in wording
# Related Issue: 2022
# Related Issue: 2016
# Video: https://youtu.be/zcCrtwcw-S4
# Blog: https://www.vcloudinfo.com/2026/10/home-assistant-frigate-garbage-bin-reminders.html
# Sunday needs garbage; Wednesday needs garbage and recycling.
# Return checks start Monday/Thursday mornings; following days continue
# until the next take-out day. Return speech is limited to 08:00-21:00.
# -------------------------------------------------------------------
# Notes: Unknown camera/classifier states never establish bins at curb
# or a completed return.
# Preserve the existing shared garbage snooze across every speech path.
# Notes: Keep reminder text on one line so phone notifications wrap naturally.
######################################################################
#}
{% macro garbage_takeout_reminder() -%}
{%- set day = now().strftime('%a') -%}
{%- if day in ['Wed', 'Sun']
and is_state('timer.garbage_reminder_snooze', 'idle')
and not is_state('binary_sensor.garbage_cans_out', 'on') -%}
{%- set ns = namespace(needed=[]) -%}
{%- if not is_state('binary_sensor.garage_garbage_at_curb', 'on') -%}
{%- set ns.needed = ns.needed + ['garbage pail'] -%}
{%- endif -%}
{%- if day == 'Wed' and not is_state('binary_sensor.garage_recycling_at_curb', 'on') -%}
{%- set ns.needed = ns.needed + ['recycling containers'] -%}
{%- endif -%}
{%- if ns.needed -%}
Today is {{ 'garbage and recycling' if day == 'Wed' else 'garbage' }} day. Please put the {{ ns.needed | join(' and ') }} at the curb.
{%- endif -%}
{%- endif -%}
{%- endmacro %}
{% macro garbage_reminder() -%}
{%- set day = now().strftime('%a') -%}
{%- if day in ['Sun', 'Wed'] -%}
{{- garbage_takeout_reminder() -}}
{%- elif 8 <= now().hour < 21 -%}
{{- garbage_return_reminder(include_recycling=day in ['Thu', 'Fri', 'Sat']) -}}
{%- endif -%}
{%- endmacro %}
{% macro garbage_return_reminder(include_recycling=true) -%}
{%- if is_state('timer.garbage_reminder_snooze', 'idle') -%}
{%- set ns = namespace(needed=[]) -%}
{%- if not is_state('binary_sensor.garage_garbage_at_curb', 'off') -%}
{%- set ns.needed = ns.needed + ['garbage pail'] -%}
{%- endif -%}
{%- if include_recycling and not is_state('binary_sensor.garage_recycling_at_curb', 'off') -%}
{%- set ns.needed = ns.needed + ['recycling containers'] -%}
{%- endif -%}
{%- if ns.needed -%}
Please return the {{ ns.needed | join(' and ') }} to {{ 'its usual spot' if ns.needed == ['garbage pail'] else 'their usual spots' }} in the garage.
{%- endif -%}
{%- endif -%}
{%- endmacro %}
Loading…
Cancel
Save

Powered by TurnKey Linux.