Fix issue with calendar error for garbage collection
This commit is contained in:
@ -253,14 +253,16 @@
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{% if count_the_days('calendar.garbage_collection','start_time') == 1 %}
|
||||
{% if state_attr('calendar.garbage_collection','message') == 'Large Garbage Pickup' %}
|
||||
Tomorrow is the monthly unlimited garbage pickup. Make sure to take out all regular trash, as well as any larger items that need to be disposed of.
|
||||
{% else %}
|
||||
Tomorrow is regular garbage pickup. Make sure that all trash cans are emptied and the outside bin has been wheeled to the curb.
|
||||
{% if state_attr('calendar.garbage_collection','start_time') != none %}
|
||||
{% if count_the_days('calendar.garbage_collection','start_time') == 1 %}
|
||||
{% if state_attr('calendar.garbage_collection','message') == 'Large Garbage Pickup' %}
|
||||
Tomorrow is the monthly unlimited garbage pickup. Make sure to take out all regular trash, as well as any larger items that need to be disposed of.
|
||||
{% else %}
|
||||
Tomorrow is regular garbage pickup. Make sure that all trash cans are emptied and the outside bin has been wheeled to the curb.
|
||||
{% endif %}
|
||||
{% elif is_state('calendar.garbage_collection','on') %}
|
||||
Today is garbage day. Please make sure to wheel the garbage bin back to the house.
|
||||
{% endif %}
|
||||
{% elif is_state('calendar.garbage_collection','on') %}
|
||||
The garbage was picked up today. Please make sure to wheel the garbage bin back to the house if you have not already.
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
|
Reference in New Issue
Block a user