diff --git a/templates/speech/daily_briefing.yaml b/templates/speech/daily_briefing.yaml index c48b5cd..450ac86 100644 --- a/templates/speech/daily_briefing.yaml +++ b/templates/speech/daily_briefing.yaml @@ -96,7 +96,9 @@

Let me check the sit rep for today. - {% if dow == 'Monday' %} + {% if is_state('sensor.garbage_collection_large_pickup','1') %} + 'Tomorrow is the monthly unlimited garbage pickup. Make sure to take out all large garbage items tonight, and do not forget the trash can!' + {% elif is_state('sensor.garbage_collection','1') %} {{ [ 'Do not forget to take the trash bin to the curb, tomorrow is trash pickup day.', 'Make sure to take the trash out. No, I do not mean Tony.', @@ -104,13 +106,12 @@ ] | random }} {% endif %} - {% if dow == 'Tuesday' %} - {% if is_state('binary_sensor.evening','on') %} - {{ [ - 'Do not forget to bring the trash can back from the curb.', - 'The trash can will feel lonely if you leave it at the curb all night.' - ] | random }} - {% endif %} + {% set gc = state_attr('sensor.garbage_collection','days') %} + {% if gc == 7 %} + {{ [ + 'Do not forget to bring the trash can back from the curb.', + 'The trash can will feel lonely if you leave it at the curb all night.' + ] | random }} {% endif %} {% if is_state('binary_sensor.evening','on') %} diff --git a/templates/speech/morning_briefing.yaml b/templates/speech/morning_briefing.yaml index 8676531..cb46a9c 100644 --- a/templates/speech/morning_briefing.yaml +++ b/templates/speech/morning_briefing.yaml @@ -120,6 +120,26 @@ It appears no traffic reports are needed today. Enjoy your day off! {% endif %} +

+ {% if is_state('sensor.garbage_collection_large_pickup','1') %} + 'Tomorrow is the monthly unlimited garbage pickup. Make sure to take out all large garbage items tonight, and do not forget the trash can!' + {% elif is_state('sensor.garbage_collection','1') %} + {{ [ + 'Do not forget to take the trash bin to the curb, tomorrow is trash pickup day.', + 'Make sure to take the trash out. No, I do not mean Tony.', + 'Tomorrow is a big day for the garbage men. Make sure you do not let them down! Take the trash out!' + ] | random }} + {% endif %} + + {% set gc = state_attr('sensor.garbage_collection','days') %} + {% if gc == 7 %} + {{ [ + 'Do not forget to bring the trash can back from the curb.', + 'The trash can will feel lonely if you leave it at the curb all night.' + ] | random }} + {% endif %} +

+

{% if is_state('input_boolean.briefing_extras','on') %} "And now we have the following extra information to pass along. {{ states('input_text.briefing_extras') }} " diff --git a/templates/speech/nightly_briefing.yaml b/templates/speech/nightly_briefing.yaml index e8da93a..1758044 100644 --- a/templates/speech/nightly_briefing.yaml +++ b/templates/speech/nightly_briefing.yaml @@ -31,13 +31,25 @@ {% endif %}

- {% set dow = as_timestamp(now()) | timestamp_custom('%A') %} - {% if dow == 'Monday' %} - "I hope that by now you have remembered to take the garbage can to the curb. " - {% endif %} - {% if dow == 'Tuesday' %} - "At this point you should have already done this, but make sure the garbage can is brought back to the house! " - {% endif %} +

+ {% if is_state('sensor.garbage_collection_large_pickup','1') %} + 'Tomorrow is the monthly unlimited garbage pickup. Make sure to take out all large garbage items tonight, and do not forget the trash can!' + {% elif is_state('sensor.garbage_collection','1') %} + {{ [ + 'Do not forget to take the trash bin to the curb, tomorrow is trash pickup day.', + 'Make sure to take the trash out. No, I do not mean Tony.', + 'Tomorrow is a big day for the garbage men. Make sure you do not let them down! Take the trash out!' + ] | random }} + {% endif %} + + {% set gc = state_attr('sensor.garbage_collection','days') %} + {% if gc == 7 %} + {{ [ + 'Do not forget to bring the trash can back from the curb.', + 'The trash can will feel lonely if you leave it at the curb all night.' + ] | random }} + {% endif %} +

"Bedroom climate scheduling will be as follows. " diff --git a/templates/speech/welcome_home.yaml b/templates/speech/welcome_home.yaml index 1aea55e..16fb45c 100644 --- a/templates/speech/welcome_home.yaml +++ b/templates/speech/welcome_home.yaml @@ -124,6 +124,26 @@ {% endif %}

+

+ {% if is_state('sensor.garbage_collection_large_pickup','1') %} + 'Tomorrow is the monthly unlimited garbage pickup. Make sure to take out all large garbage items tonight, and do not forget the trash can!' + {% elif is_state('sensor.garbage_collection','1') %} + {{ [ + 'Do not forget to take the trash bin to the curb, tomorrow is trash pickup day.', + 'Make sure to take the trash out. No, I do not mean Tony.', + 'Tomorrow is a big day for the garbage men. Make sure you do not let them down! Take the trash out!' + ] | random }} + {% endif %} + + {% set gc = state_attr('sensor.garbage_collection','days') %} + {% if gc == 7 %} + {{ [ + 'Do not forget to bring the trash can back from the curb.', + 'The trash can will feel lonely if you leave it at the curb all night.' + ] | random }} + {% endif %} +

+

{% if is_state('light.living_room_lights','on') %} {% if is_state('input_boolean.early_night_mode','on') %}