Skip to content
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

Improve state/icon display #157

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

trvrnrth
Copy link

@trvrnrth trvrnrth commented Oct 5, 2023

Leverage the entity state formatting functions added in 2023.9 to include units of measurement etc. Strictly speaking this is a breaking change so I guess there's some possibility the behavior might want to be gated behind a config but I imagine it is actually desirable for the majority of people. Fixes #95

Use ha-state-icon to ensure correct icon for all domains as custom-card-helpers domainIcon does not provide complete coverage. Fixes #79

@Masterz69
Copy link

Hi ! Is any chance to implement this PR ?
Would be nice to have icons for domains.
Thank You.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not show UNIT measurement No default icons for device_class: motion, door, connectivity...
2 participants