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
Thanks for sharing your card in HACS, which I used to get the timer status of my Cleverio Sous Vide. The Sous Vide is included in HA through the Tuya integration (https://www.home-assistant.io/integrations/tuya/).
Here is the settings I used if you want to include into your list:
entity: sensor.cleverio_sous_vide_statustype: custom:timer-bar-cardactive_state: cookingpause_state: standbyduration:
entity: number.cleverio_sous_vide_cook_timeunits: minutesremain_time:
entity: sensor.cleverio_sous_vide_remaining_timeunits: minutes# Below are just the modifications I used to make it look good in my frontend.name: Timericon: mdi:timer-offbar_height: 1.2embar_width: 45%bar_direction: rtlbar_radius: 1.2embar_foreground: greentext_width: 4eminvert: trueactive_icon: mdi:timermodifications:
- elapsed: 75%bar_foreground: orange
- elapsed: 90%bar_foreground: red
Caveats
When the timer bar is added to an Entities card it is not updated with the remaining time. I need to reload the page or edit the card to update the bar. It seems to be unaware of changes for the entity under the remain_time option.
I guess the bar only get update events from the entity in the first entity option, so I instead tried using the entities list option in a "standalone" time-bar-card. By including the sensor for the remaining time in this list I could get the timer bar to update properly, see example below:
type: custom:timer-bar-cardentities:
- sensor.cleverio_sous_vide_status
- sensor.cleverio_sous_vide_remaining_time# ... from here identical to the previous example
Another workaround is to use a template sensor for the state and add attributes for the duration and remaining time. Here is the template sensor configuration I used:
Thank you so much for the writeup, especially how you were able to create workarounds. However, everything under "Caveats" sounds like bugs with the card that should be fixed.
Thanks for sharing your card in HACS, which I used to get the timer status of my Cleverio Sous Vide. The Sous Vide is included in HA through the Tuya integration (https://www.home-assistant.io/integrations/tuya/).
Here is the settings I used if you want to include into your list:
Caveats
When the timer bar is added to an Entities card it is not updated with the remaining time. I need to reload the page or edit the card to update the bar. It seems to be unaware of changes for the
entity
under theremain_time
option.I guess the bar only get update events from the entity in the first
entity
option, so I instead tried using theentities
list option in a "standalone" time-bar-card. By including the sensor for the remaining time in this list I could get the timer bar to update properly, see example below:Another workaround is to use a template sensor for the state and add attributes for the duration and remaining time. Here is the template sensor configuration I used:
The time-bar-card setup needs some changes in the
duration
andremain_time
options:The text was updated successfully, but these errors were encountered: