Hello!
Since the 0.115 update the below icon_template does not work anymore. If I test it in the Template editor it works, it detects the state and updates. The icon however is not updated on the frontend.
What changed?
- platform: template
covers:
awning_homekit: #name of the cover
friendly_name: Awning
close_cover:
service: cover.open_cover
data:
entity_id: cover.awning
open_cover:
service: cover.close_cover
data:
entity_id: cover.awning
icon_template: >-
{% if is_state("cover.awning_homekit", "open") %}
mdi:bus-stop-covered
{% else %}
mdi:bus-stop-uncovered
{% endif %}
1 post - 1 participant