timer-bar-card icon indicating copy to clipboard operation
timer-bar-card copied to clipboard

Card no longer automatically updates when timer changes state since 2024.3, requires manual page refresh

Open jarrodstrachan96 opened this issue 5 months ago • 4 comments

Describe the bug When the timer emtity changes state, ie from timer isn't running to timer is running, or the time remaining changes value, the card no longer shows the real current live value, without manually refreshing the page. This behavior only began since I updated to 2024.3. Please note, I am using Card Templater in conunction with tiemr card, but the bug remains even without card templater.

Please see video attached to see the issue : https://streamable.com/0gazof

Your card configuration

type: custom:card-templater
card:
  type: custom:timer-bar-card
  entity: timer.climate_manual_mode_timer
  name_template: |
    {% set booststatus = states('input_boolean.climate_boost') %}
    {% if booststatus == 'on' %}
      Boost Timer
    {% else %}
      Manual Timer
    {% endif %}
  invert: true
  bar_direction: ltr
  bar_width: 100%
  height: 100px
  mushroom:
    layout: vertical
    color: white
  hold_action:
    action: none
  style: |
    ha-card {
      --st-font-size-title: 25px;
      {% set climatemode = states('input_select.climate_mode_selection') %}
      {% if climatemode == 'Manual' %}
        border: 2px solid white;
        --ha-card-background: grey;     
      {% endif %}
      }  
entities:
  - input_boolean.climate_boost

Debug information Please add debug: true to your configuration and either take a screenshot or paste the output here!

jarrodstrachan96 avatar Mar 19 '24 20:03 jarrodstrachan96