Skip to content

v0.18.2 — fix coordinator crash on empty status cache

Choose a tag to compare

@botts7 botts7 released this 03 Jul 11:19

Important bugfix — update if your integration shows entities as unavailable / "won't connect".

Fixed

  • Coordinator crash when the gateway returns an empty status cache. On a fresh boot or a marginal BLE link the gateway can return {"status": null, "realtime": null}; the coordinator then raised AttributeError: 'NoneType' object has no attribute 'get' and took down every entity (looked like the integration wouldn't connect). Now handled gracefully — entities just read empty until the gateway's cache populates.

Pairs with firmware v3.2.0-beta.9 (which adds a status-poll retry so the cache is less likely to be empty) and Add-on v0.41.0.