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

Handle unavailable entities in battery card #591

Closed
surskitt opened this issue Apr 8, 2022 · 1 comment
Closed

Handle unavailable entities in battery card #591

surskitt opened this issue Apr 8, 2022 · 1 comment

Comments

@surskitt
Copy link

surskitt commented Apr 8, 2022

Is your feature request related to a problem? Please describe.
Whenever a battery sensor entity is unavailable, the batter card shows a strange state.

For example, I have some miflora sensors that are unavailable upon startup and only become available once a scan is successful:

b

And a sonos roam that doesn't report its battery status when it's powered off.

b

Describe the solution you'd like

It would be good to show a more readable unknown state and use the same icon the entities card uses for unavailable battery entities.

Something like this (a bad mock up using the chrome css editor and gimp) would be good:

b

@basbruss
Copy link
Collaborator

closed with #756

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

No branches or pull requests

2 participants