Skip to content

v1.4.4

Choose a tag to compare

@GuiPoM GuiPoM released this 28 May 15:02
· 16 commits to main since this release

Fix: siren and camera light unavailable after reboot

Both the siren and light (floodlight) entities on the NOC camera were affected by the same bug: availability was tied to the webhook connection flag instead of the camera power state.

Root cause: when available was introduced in HA core (#42791, Jan 2021), async_update_callback relied exclusively on webhook events — gating availability on the webhook was intentional. During the pyatmo 7.0.1 refactor, async_update_callback was rewritten to read from the polled homestatus API, but available was never updated. The two drifted apart silently.

Fix: availability is now based on device.alim_status is not None (camera power state from polled API), consistent with camera.py.

This bug also exists in the upstream Home Assistant core Netatmo integration and will be reported there separately.