Custom Lovelace card to use in Home assistant allowing lovelace to auto reload every X minutes.
When running on wall tablet, it often happens that lovelace websocket disconnect and the entities are not refreshed automatically anymore.
This card, can be used to workaround this problem.
Hopefully, one day, this card will be deprecated and a real fix will be available.
resources:
url: /local/auto-reload-card.js
type: module
- Refresh lovelace every 1 minute:
type: 'custom:auto-reload-card'
delay_in_minute: 1