/lovelace-auto-reload-card

Custom home assitant lovelace for UI auto reload

Primary LanguageJavaScript

hacs_badge

auto-reload-card

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.

Installation

Use HACS or follow this guide

resources:
  url: /local/auto-reload-card.js
  type: module

Configuration example:

  • Refresh lovelace every 1 minute:
type: 'custom:auto-reload-card'
delay_in_minute: 1