Skip to content

v1.4.3

Latest

Choose a tag to compare

@JoshADC JoshADC released this 15 Oct 14:38

Stale PTZ buttons are cleaned up

SecuritySpy reports PTZ support from a camera's driver profile, so many fixed cameras (Reolink, Dahua, Hikvision and others) get a full set of pan/tilt/zoom buttons they can't use. The fix for that is in SecuritySpy: tick Disable PTZ under Settings > Cameras > Device (advanced options). Until now, the old buttons then stayed behind in Home Assistant as unavailable entities.

The integration now removes them when it loads (at Home Assistant startup, or when you reload the integration).

Upgrading changes nothing on its own

Buttons are only removed for cameras that SecuritySpy reports as online and that no longer report PTZ. A camera that still reports PTZ keeps all its buttons, and an offline or missing camera is never touched, so a network blip or a SecuritySpy outage can't delete anything.

Also in this release

  • The bundled SecuritySpy library's old lint warnings are cleared. No behaviour change.

Thanks to @jpettitt for both changes (#8, #9).