Dashboard stuck in refresh loop = refreshes ~12 times (~once for each card)
Checklist
- [x] I updated the card to the latest version available
- [x] I cleared the cache of my browser
Describe the bug I have one large template in my main dashboard that uses other smaller templates. This large template is used in my main dashboards - I have one per room /area (not all rooms). When I open the dashboard on mobile or desktop, even using a newly downloaded fresh browser:
- The page refreshes over and over and over.
- I can click buttons between these refreshes, but sometimes if I catch it too early or too late, the button click doesn't register. But if I time it perfectly (between the refreshes), if I click the button, it does what it is supposed to (turn the light on).
- I can scroll between the refreshes, but obviously the refresh takes me to the top.
- Waiting for this refresh loop to finish takes about 50 seconds. It is quite frustrating have to wait that long sitting watching the same dashboard flashing before my eyes over and over, just waiting until I can turn a light on.
- There are NO other cards, apart from multiple instances of the custom button card, on this dashboard.
- Opening any other dashboard (that does not use the custom button card) I do NOT experience this issue what so ever.
- Once the refresh loop finishes I can use the dashboard quite smoothly and it works as it always used to.
Version of the card Version: 4.1.2
To Reproduce This is the configuration I used: Templates used by other templates > used by multiple cards on a dashboard.
Screenshots I cannot screenshot this refresh loop.
Expected behavior Unfortunately I am not intelligent enough to figure out why this is happening; I am guessing there is a "refresh" instruction somewhere in the templates, and because I am re-using the template multiple times it refreshes multiple times. Perhaps the "refresh" instruction can only run after the complete dashboard has been rendered?
Desktop (please complete the following information):
- Opera: 119.0.5497.70
- Edge: 137.0.3296.83
- Native Android Home Assistant App: 2025.5.3-full
- HA Install Method: Home Assistant OS
- HA Core: 2025.6.1
- HA Supervisor: 2025
- HA Operating System: 15.2
- Frontend: 20250531.3
Smartphone (please complete the following information):
- Device: Samsung S22 & Huawei P30 Lite & Windows Laptop (x2) & Windows Desktop
- OS: Windows 11 & Windows 10 & Android 15 & Android 12
Additional context No additional Information.
without the actual template yaml this issue cant be helped...
also, if you open an Inspector window in your browser, you will see any Frontend issue being logged. If you're in a loop. you'll see horrific numbers added fast.... ;-)
right click your mouse and click Inspect element
Please post your config if you wish for this to be reviewed.
@BAAAASS any chance to post your template. If not the issue will be closed.
This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 28 days with no activity.