Skip to content

v0.1.6 — Fix duplicate static-route on reload

Choose a tag to compare

@wleonhardt wleonhardt released this 24 May 14:51
· 23 commits to main since this release

Bug fix for a regression introduced in v0.1.5.

Fixed

  • Integration setup failed on reload with Added route will never be executed. v0.1.5 made options changes properly trigger a reload, but every reload re-attempted to register the card.js static path — and aiohttp rejects duplicate GET URLs. The reload would half-complete, leaving the integration in a broken state until full HA restart. Now we track registered URLs in hass.data and skip already-registered ones.