{% if is_state('eure_entität', 'on') %}
Symbol/Farbe/Text für an
{% else %}
Symbol/Farbe/Text für aus
{% endif %}
Alternativ kann mit „elif“ um beliebig viele Zustände erweitert werden.
{% if is_state('eure_entität1', 'Zustand1') %}
Symbol/Farbe/Text für Zustand1
{% elif is_state('eure_entität2', 'Zustand2') %}
Symbol/Farbe/Text für Zustand2
{% elif is_state('eure_entitätX', 'ZustandX') %}
Symbol/Farbe/Text für ZustandX
{% else %}
Symbol/Farbe/Text für AlleAnderenZustände
{% endif %}