-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Duration-class badges do not respect unit of measurement #21967
Comments
This is a side effect of removing #21755 We don't have a good solution for customizing duration formatting at this time. |
Thanks for clarifying. It's strange because the actual state of the entity shows as minutes, I'd hope it would just show that. Is the output of the states in Dev Tools is already formatted? |
Developer-tools/states is always the raw state from the backend, that will be a number like In frontend |
This regression has caused Ping integration entities to display ping round trip time in seconds even though "unit of measurements" is set to "ms". |
Agreed, it's a strange experience since the units are now inconsistent in various locations. |
Checklist
Describe the issue you are experiencing
In 2024.8, a badge for a sensor with the configuration below displays '103 minutes'
Changing unit of measurement from min to millisecond reflects immediately on the card.
Describe the behavior you expected
In 2024.9, the preference for unit of measurement is ignored and the value displayed is '1:43:0'
Changing unit of measurement from min to millisecond does not reflect on the card.
Steps to reproduce the issue
Downgrade to 2024.8.
What version of Home Assistant Core has the issue?
core-2024.9.0
What was the last working version of Home Assistant Core?
core-2024.8.3
In which browser are you experiencing the issue with?
Edge
Which operating system are you using to run this browser?
Mac OS/Windows/Android
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: