Hi folks,
I am using the HACS integration “Waste Collection Schedule”, and for this several sensors.
So for the Recycling Bin the current state is 25 days.
On my Dashboard Sidebar I am using these code lines to notify about when the next time the bin will be collected.
<li>
{% if "1" in states('sensor.abfallblauetonne') %} <li>Blaue/Gelbe Tonne wird morgen abgeholt!</li> {% endif %}
</li>
<li>
{% if "2" in states('sensor.abfallblauetonne') %} <li>Blaue/Gelbe Tonne wird in 2 Tagen abgeholt!</li> {% endif %}
</li>
<li>
{% if "3" in states('sensor.abfallblauetonne') %} <li>Blaue/Gelbe Tonne wird in 3 Tagen abgeholt!</li> {% endif %}
</li>
<li>
{% if "4" in states('sensor.abfallblauetonne') %} <li>Blaue/Gelbe Tonne wird in 4 Tagen abgeholt!</li> {% endif %}
</li>
So what it right now displays on the sidebar is that in 2 days the recycling bins are going to be collected. But it will be in 25 days.
How can i fix this?
Thanks