We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am able to create a template entity row to change the color and icon for an entity depending on its on/off state with the following
but the icon doesn't display at all when using two PHU icons
if I change the second phu icon to a standard mdi icon, both icons display
if I try to change the first icon to an mdi and the second to a phu again it works fine
custom icons are all set and work in all other locations
The text was updated successfully, but these errors were encountered:
Duplicate of #93
Sorry, something went wrong.
resolved using fork from here
https://github.com/TheHolyRoger/lovelace-template-entity-row
No branches or pull requests
I am able to create a template entity row to change the color and icon for an entity depending on its on/off state with the following
entity: switch.plug_bambu
toggle: true
name: X1C
color: >-
{% if is_state('switch.plug_bambu', 'on')%} green {% else %} rgb(85,
120, 155) {% endif %}
icon: >-
{% if is_state('switch.plug_bambu', 'on')%} phu:bambulab-alt {% else %}
phu:p1s {% endif %}
but the icon doesn't display at all when using two PHU icons
if I change the second phu icon to a standard mdi icon, both icons display
if I try to change the first icon to an mdi and the second to a phu again it works fine
custom icons are all set and work in all other locations
The text was updated successfully, but these errors were encountered: