Remove all garbage collection references

The current solution is prone to constantly being incorrect about when our unlimited pickup is, or when the date should be pushed back. Need to find a better solution.
This commit is contained in:
2023-02-27 17:59:22 -05:00
parent d7c40cdbb1
commit 1e501eaca2
5 changed files with 0 additions and 133 deletions

View File

@ -124,29 +124,6 @@
"The developer has informed me that I must inform you of the following informational information. ",
] | random }}
{% 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 }}
{% elif gc == 6 %}
{{ [
'If you have not already, please remember to bring the garbage can back from the sidewalk.',
'Just in case you forgot, it is time to bring the garbage can back to the house before it gets lonely.'
] | random }}
{% endif %}
{% if is_state('binary_sensor.evening','on') %}
{% if is_state('sensor.anniversary_tony_s_birthday','0') %}
Hope you had a happy birthday Tony!

View File

@ -175,31 +175,6 @@
{% 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 }}
{% elif gc == 6 %}
{{ [
'If you have not already, please remember to bring the garbage can back from the sidewalk.',
'Just in case you forgot, it is time to bring the garbage can back to the house before it gets lonely.'
] | random }}
{% endif %}
</p>
<p>
{% if is_state('input_boolean.sports_updates','on') %}
{% if is_state('sensor.michigan_wolverines','PRE') %}

View File

@ -93,26 +93,6 @@
{% 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('input_boolean.sports_updates','on') %}
{% if is_state('sensor.michigan_wolverines','PRE') %}

View File

@ -118,33 +118,6 @@
{% 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 }}
{% elif gc == 6 %}
{% if is_state('binary_sensor.morning','on') or is_state('binary_sensor.midday','on') %}
{{ [
'If you have not already, please remember to bring the garbage can back from the sidewalk.',
'Just in case you forgot, it is time to bring the garbage can back to the house before it gets lonely.'
] | random }}
{% endif %}
{% endif %}
</p>
<p>
{% if is_state('light.living_room_lights','on') %}
{% if is_state('binary_sensor.early_night_mode','on') %}