Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106357

Icon_template not working anymore since 0.115

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 106357

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>