-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Uptime badge showing date instead of relative time #8030
Comments
Did it previously show something other than the timestamp? Given that there is not much space in a badge, basically everything we put int here will get ellipsis during rendering. So I am not sure if an uptime sensor as badge makes really sense to begin with. If the uptime sensor is used as an entity row, then we show the relative time instead. |
It shows 0.1 days(unit measurements: day. But this setting has been removed. |
Was that setting on the sensor or on the frontend badge YAML? Could you also select other units? If you were to choose hours the values would get a lot longer. |
The same thing happens with the entity card (but works fine with the entities card). It also happens for any sensor with device class timestamp. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Checklist
The problem
Uptime badge showing timestamp instead of relative time.
Expected behavior
Uptime badge show time relative like xxx ago.
Steps to reproduce
add uptime as badge
Environment
State of relevant entities
Problem-relevant configuration
Javascript errors shown in your browser console/inspector
Additional information
The text was updated successfully, but these errors were encountered: