-
Notifications
You must be signed in to change notification settings - Fork 27
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
Timestamp unit for time to end #71
Comments
The api isnt super consistent across device types - i think the easiest path forward would be to look at creating an automation that fills a timer entity for your needs This is not super useful for my fridge, as all the timers return in minutes. This resukts in every refresh restarting the timer and it goes up and down over and overuntil the full minute passed something like the below
|
Before the last update the Time To End entity returns e.g.: 50. Which means 50 min. Now with the latest release the time is returned as "50.0". Please fix this. Your entity also ignores the unit format setting, because it is set to 50 instead of 50.0 but still returns 50.0, so I had to manually remove the ".0" in my dashboards. As said, with all previous versions the value was correct. |
Precision like that does sound strange as I would expect it to be 50:00. Previously time was converted to minutes in integration code and stored that way meaning it was less accurate. Note that even if we adjust the precision in the code, your entities likely won't auto update without a remove and readd. It is not loaded on every restart I do actually think that the current 50.0 is more accurate as it includes the information on seconds and would display 40:30 for instance rather than just 40 It's only 3 clicks to change the precision of an entity after all. You could submit a device specific catalog that would force this too |
Somehow I can´t get this to work. How can I set up this automation step by step? Thank you |
Is it possible to have a timestamp entity for the time_to_end entity?
I would need it for this timer bar to work:
https://github.com/rianadon/timer-bar-card
The text was updated successfully, but these errors were encountered: