#"Custom element doesn't exist: xxxx card". How to solve or force a refresh in these cases?

1 messages · Page 1 of 1 (latest)

crude breach
#

At very random times, my dashboard is loaded and then shows that a custom element doesn't exist or a card doesn't exist. There is then only one way to get rid of this, by going to a other window and back, or restarting the home assistant companion app.

The problem is that the device i have this on, are supposed to be put away and not be interacted with too much. so in browser mod i disabled the side and header menu. i do not have a way to refresh the page now, and i can only restart the app to make this error go away.

Is this perhaps a known bug, i wonder? or device related?

Is there a way to force a refresh when this issue happens? if possible just the local card refreshing, or the whole page if needed, that would also be already a big help.

Thanks for any assistance! 🙂

main shell
#

I have two options for you which I use both. I have a custom:button-card that shows the date & time with a tap_action that refreshes the browser. yaml tap_action: action: call-service service: browser_mod.refresh I also have an automation set up for whenever a dashboard is saved, browsers are refreshed. In the When I have: ```yaml
platform: event
event_type: lovelace_updated
id: lovelace_updated

```yaml
target:
  entity_id:
    - button.fire_office_load_start_url
    - button.fire_computer_desk_load_start_url
    - button.fire_living_room_load_start_url
    - button.fire_bedside_load_start_url
  device_id: []
  area_id: []
data: {}
alias: FKB Load Start URL
action: button.press
```and```yaml
metadata: {}
data: {}
target:
  device_id: 6b3c1fe87e30630ffd8d05915REDACTED
action: browser_mod.refresh