Updated briefings with better garbage collection logic

This commit is contained in:
2022-10-22 18:37:59 -04:00
parent 942d73783d
commit 149f0edfda
4 changed files with 68 additions and 15 deletions

View File

@ -124,6 +124,26 @@
{% endif %}
</p>
<p>
{% 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 %}
</p>
<p>
{% if is_state('light.living_room_lights','on') %}
{% if is_state('input_boolean.early_night_mode','on') %}