Skip to content

fix: update stats templates when referenced entities change#1107

Open
saschabuehrle wants to merge 1 commit into
denysdovhan:mainfrom
saschabuehrle:fix/issue-1057-template-refresh
Open

fix: update stats templates when referenced entities change#1107
saschabuehrle wants to merge 1 commit into
denysdovhan:mainfrom
saschabuehrle:fix/issue-1057-template-refresh

Conversation

@saschabuehrle

Copy link
Copy Markdown

Fixes #1057

The card was only rerendering when the main vacuum entity changed. Stats rows that reference separate sensor entities (including value_template output) could become stale until a full frontend reload.

This change extends shouldUpdate to also watch configured stats entities, map entity, and optional battery entity so template-driven stats update in real time.

Greetings, saschabuehrle

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

This PR is stale because there hasn't been any activity for a long time.

@github-actions github-actions Bot added the stale label Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sensor value gets updated ignoring value_template

1 participant