Tile card not updating the "remaining" (time) when using timers #20138
-
Beta Was this translation helpful? Give feedback.
Replies: 10 comments
-
I'll argue this isn't really a bug, but just a quirk of how the It is not an accurate count of the time remaining, as it only updates when the timer changes state (like changes from running to paused). It does not continually update as it counts down, as that would generate a lot of unnecessary recorder events. So the tile card is correct in showing this attribute as it really exists in the state machine. Some other frontend cards (like entities) do generate a live countdown, but that's not the same thing as displaying the One could ask for tile card to generate a similar countdown, but that's more of a feature request. |
Beta Was this translation helpful? Give feedback.
-
I understand your standpoint. I think there are two ways to look at this: from the perspective of a user this looks like "bad design" as it doesn't act like the name and setting might imply. (Remember I am able to select "remaining" here and it doesn't do anything at all except displaying the "duration", but nothing else). From a programmers perspective the solution itself works (although I only can image how the inner workings are - maybe it's "one solution fits all", which might be clean in itself, but takes casualities as the programming doesn't cover edge cases like "remaining"). Adding code (or recorder events, as you wrote) makes it more complicated, bloated and maybe error prone. |
Beta Was this translation helpful? Give feedback.
-
Keen to follow this as I'm using the tile card to monitor the timer state (and hopefully remaining time) but the remaining, as described, stays at the initial value as of the state change from Idle to Active. The workaround for now is I click in to the tile for more details and the remaining time is visible there. |
Beta Was this translation helpful? Give feedback.
-
I thought I would share that the Entities Card does show the remaining time for Timers when the state moves away from Idle: |
Beta Was this translation helpful? Give feedback.
-
Thank you. Good to know there are alternatives, yet I like a visual consistency thus I am using a lot of tile cards in my dashboards. Would be great to see a similar functionality (as in entity cards) here as well. |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
The issue is still unsolved |
Beta Was this translation helpful? Give feedback.
-
Are there any plans to implement this? |
Beta Was this translation helpful? Give feedback.
-
I add my interest to this problem. |
Beta Was this translation helpful? Give feedback.
-
Implemented with #21290, which is part of 2024.8 |
Beta Was this translation helpful? Give feedback.
Implemented with #21290, which is part of 2024.8