You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The duration device class is not consistent in Home Assistant. Because you can set an unit but it's not respected in the UI. I will look how I can fix that in Home Assistant and then Mushroom can adapt.
But it's fixed in home assistant, it works as expected (and even in the
mushroom entity card ) a quick fix seems to use the same code to show the
state here as in the mushroom entity card, if nothing else for consistency.
A quarta, 23/10/2024, 20:33, Paul Bottein ***@***.***>
escreveu:
Requirements
Current Behavior
When a input number with device_class: duration and unit s (seconds) is used in number card it shows only seconds even if more than 60s
Expected Behavior
It should show hours/minutes when the value is more than 60s like the Tile or Mushroom Entity cards
Steps To Reproduce
1 - Create a number with device class duration and unit seconds
2 - Set a value bigger than 60
3 - Add it to a Mushroom number card
Context
YAML state
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: