-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
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
icon for states #61
Comments
Sorry ... how does #71 fix this? ... I noticed you stated that you now do intend to make the card implement templating soon tho... so I guess I wait for that. |
Uhm... I really have no idea how this got linked to #71... Reopening it. Edit: seems like the guy who made the PR linked to this issue, which made Git close this when I merged it.. |
#71 makes it possible to have icons that represent the state, I have linked the issue since if you set icon to - entity: light.my_bulb
name: My Bulb
secondary_info: last-changed
show_state: false
state_color: true
type: 'custom:multiple-entity-row'
entities:
- entity: light.my_bulb
icon: true
name: false
state_color: true
- entity: binary_sensor.my_bulb_available
icon: true
name: false |
@drzony ... sorry how does that allow for two different icons depending on state? |
@i00 Home Assistant changes icons based on state internally. For example binary sensor looks like that: |
Thanks for all contributors - love this card 😃 |
This will be supported with templating (#35) whenever I get around to implementing that. |
Hi... If something is boolean ... can you have another icon like:
icon: mdi:...
icon_off: mdi:...
That allows the icon to be changed depending on the entities state?
Thanks
The text was updated successfully, but these errors were encountered: