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
This card is great and made it very easy to create a nice usable mobile UI.
I would like to add the Volume level of a media player as the additional state shown (top right circle) using the state and statePath setting. This works but it shows the value unrounded and with all digits. The volume_level ranges between 0-1 and I would like to show it in the circle as a percentage (so 40% and not 0.400000000000023) and if possible also showing the circle fill like brightness does for example. Is it possible to add functionality to add settings for rounding of the attribute, and the option to show it in the circle like for example Brightness does? This last part might be related to the value between 0 and 1 instead of 1 - 100 like Brightness
The text was updated successfully, but these errors were encountered:
kaosmagix
changed the title
Option to round /multiply attribute values for state/statePath
[Feature Request] Option to round /multiply attribute values for state/statePath
Jan 9, 2021
This card is great and made it very easy to create a nice usable mobile UI.
I would like to add the Volume level of a media player as the additional state shown (top right circle) using the state and statePath setting. This works but it shows the value unrounded and with all digits. The volume_level ranges between 0-1 and I would like to show it in the circle as a percentage (so 40% and not 0.400000000000023) and if possible also showing the circle fill like brightness does for example. Is it possible to add functionality to add settings for rounding of the attribute, and the option to show it in the circle like for example Brightness does? This last part might be related to the value between 0 and 1 instead of 1 - 100 like Brightness
The text was updated successfully, but these errors were encountered: