-
Notifications
You must be signed in to change notification settings - Fork 15
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
Empty progress bar with remain_time
#96
Comments
Sorry it's taken so long for me to reply. The v1.28 update back in June should have made the Are you using this version or the latest version, or is this still an issue with the card? |
Thanks for the reply. I'm using version 1.29.1. As you can see in the screenshots, the calculation of duration is not correct. Maybe |
Well, I guess those updates didn't fix whatever the problem may be here. My guess is/was that the card is not re-rendering every time the entity changes. Since you're already digging into the code, try adding a That |
Describe the bug
I tried to show the remaining charging time of my car, but the progress bar doesn't show any progress. It's always empty. Only the remaining time is updated.
Your card configuration
Debug information
switch.tmbjc7ny6nf049498_charging
automatically updates its state to 'on' if the car starts charging. This is recognized by the card. It's visible and the states changes in the debug information.sensor.tmbjc7ny6nf049498_charging_time_left
contains the remaining time in minutes. One problem of this entity is that it only updates every 5 minutes, but this shouldn't break the card.I don't why the progress bar is not updating. According to the docs it should be enough to set Remaining Time + Active State and active state is detected correctly.
I got it working with a template sensor:
With this I can use
end_time
and the card is working as expected:The text was updated successfully, but these errors were encountered: