Skip to content

Dynamic icons, set over mqtt? #776

Closed Answered by zagi988
zagi988 asked this question in Q&A
Discussion options

You must be logged in to vote

Works like this:

  • obj: "p1b24"
    properties:
    "text": >
    {% if is_state('media_player.thinkcentre_ha', 'playing') %}
    {{ "\uE3E4" }}
    {% else %}
    {{ "\uE40A" }}
    {% endif %}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fvanroie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant