If this is the front-end cache, then it gets lost quite often due to updates from hacs integrations.
Why not store it in the user preferences? Optionally with a device name so you can have a different dashboard per device.
On a weekly basis I get the overview dashboard 2 or 3 times, usually random. And somehow it takes a while to go to my default dashboard when I click it.
It is not the front-end cache, it is the browser local storage. Normally it gets wiped if one logs out, but it doesnât have an expiration like session storage or cookies, but it is possible to clean it from a JavaScript code though.
That is the best solution, something similar to this. There are many settings that should be stored in the database instead of in the local storage.
This seems to be an issue with the code that retrieves it from the local storage. If you get it sometimes, then the default dashboard entry is not deleted from the local storage, but it is failing to be retrieved instead.
I donât use that feature so I have not experienced that issue, but if it occurs it should be a bug in Home Assistant frontend.
I really donât know. But if it loads sometimes and sometimes not it should not be because the data is lost and recovered, it should be because the process of retrieving the data is failing for some reason.