Display remaining Timer in HADashboard

I have setup several timers (e.g. Light Timer) which get activated by sensors and perform a specific action when finished.

I would like to show the remaining time in my HADashboard but I was only able to show active/idle state… not remaining time 00:03:12 sec left.

Any ideas ?

i havent worked with timers, but from your description it seems that the time is an attribute from the entity.

if that is true you can use the sensor widget.
you then would need to use it like this:

  entity: timer.your_timer_name.the_time_attribute
2 Likes

Awesome, that sounds promising… I will try tonight!

is there any solution, I try:

entity: timer.your_timer_name.remaining

it stays on the duration time.

i still didnt work with timers, but if creating a widget with the remaining attribute doesnt work, you could try to make a template sensor in HA and show that on the dashboard.

- platform: template
  sensors:
    co2_remaining:
      value_template: '{{ state_attr("timer.co2","remaining") }}'
      friendly_name: 'Co2 Remaining'