Fix issue with calendar error for garbage collection
This commit is contained in:
@ -385,14 +385,16 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
{% if count_the_days('calendar.garbage_collection','start_time') == 1 %}
|
{% if state_attr('calendar.garbage_collection','start_time') != none %}
|
||||||
{% if state_attr('calendar.garbage_collection','message') == 'Large Garbage Pickup' %}
|
{% if count_the_days('calendar.garbage_collection','start_time') == 1 %}
|
||||||
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.
|
{% if state_attr('calendar.garbage_collection','message') == 'Large Garbage Pickup' %}
|
||||||
{% else %}
|
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.
|
||||||
Tomorrow is regular garbage pickup. Make sure that all trash cans are emptied and the outside bin has been wheeled to the curb.
|
{% 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 %}
|
{% 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 %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
@ -157,14 +157,16 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
{% if count_the_days('calendar.garbage_collection','start_time') == 1 %}
|
{% if state_attr('calendar.garbage_collection','start_time') != none %}
|
||||||
{% if state_attr('calendar.garbage_collection','message') == 'Large Garbage Pickup' %}
|
{% if count_the_days('calendar.garbage_collection','start_time') == 1 %}
|
||||||
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.
|
{% if state_attr('calendar.garbage_collection','message') == 'Large Garbage Pickup' %}
|
||||||
{% else %}
|
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.
|
||||||
Tomorrow is regular garbage pickup. Make sure that all trash cans are emptied and the outside bin has been wheeled to the curb.
|
{% 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 %}
|
{% endif %}
|
||||||
{% elif is_state('calendar.garbage_collection','on') %}
|
|
||||||
Today is garbage day. If the garbage has already been picked up at this time, please wheel the garbage bin back to the house.
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
@ -253,14 +253,16 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
{% if count_the_days('calendar.garbage_collection','start_time') == 1 %}
|
{% if state_attr('calendar.garbage_collection','start_time') != none %}
|
||||||
{% if state_attr('calendar.garbage_collection','message') == 'Large Garbage Pickup' %}
|
{% if count_the_days('calendar.garbage_collection','start_time') == 1 %}
|
||||||
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.
|
{% if state_attr('calendar.garbage_collection','message') == 'Large Garbage Pickup' %}
|
||||||
{% else %}
|
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.
|
||||||
Tomorrow is regular garbage pickup. Make sure that all trash cans are emptied and the outside bin has been wheeled to the curb.
|
{% 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 %}
|
{% 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 %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
@ -156,14 +156,16 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
{% if count_the_days('calendar.garbage_collection','start_time') == 1 %}
|
{% if state_attr('calendar.garbage_collection','start_time') != none %}
|
||||||
{% if state_attr('calendar.garbage_collection','message') == 'Large Garbage Pickup' %}
|
{% if count_the_days('calendar.garbage_collection','start_time') == 1 %}
|
||||||
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.
|
{% if state_attr('calendar.garbage_collection','message') == 'Large Garbage Pickup' %}
|
||||||
{% else %}
|
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.
|
||||||
Tomorrow is regular garbage pickup. Make sure that all trash cans are emptied and the outside bin has been wheeled to the curb.
|
{% 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 %}
|
{% endif %}
|
||||||
{% elif is_state('calendar.garbage_collection','on') %}
|
|
||||||
Today is garbage day. If the garbage has already been picked up, please wheel the garbage bin back to the house.
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user