home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
3.81k stars 2.61k forks source link

Timers remaning time not working in tile card #21288

Closed brocasm closed 3 days ago

brocasm commented 1 week ago

Checklist

Describe the issue you are experiencing

On a views of type section. When the timer is running, the remaining stay at duration time and not countdown Capture d’écran 2024-07-04 153412

Describe the behavior you expected

The timer card in views section, with remaining time work as other type views with decremant time Capture d’écran 2024-07-04 154053

Steps to reproduce the issue

1.Add a card by entity of an timer

  1. Add State content: Remaining
  2. Start the timer

What version of Home Assistant Core has the issue?

2024.7.0

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Firefox 127.0.2 / Brave Version 1.67.123 Chromium: 126.0.6478.126

Which operating system are you using to run this browser?

Windows 11 / Linux

State of relevant entities

timer.name active

Problem-relevant frontend configuration

type: tile
entity: timer.auto_rearme
layout_options:
  grid_columns: 4
  grid_rows: 1
state_content:
  - remaining
  - duration
  - finishes_at

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

MarcusCulverTHL commented 1 week ago

I am also having this issue. The entity tile (single entity) display is no different when a timer helper is active between duration and remaining attributes. The remaining attribute should show the time the helper has remaining as per the Entities tile when the same configuration is applied. image image image