zm-py 0.5.7
Behavior Change
login()now raisesrequests.ConnectionError/requests.Timeoutwhen the server is unreachable instead of returningFalse.Falsenow means only that the credentials were rejected, so callers (such as the HA config flow) can tell "cannot connect" apart from "invalid auth". Requests made through_zm_requestbehave as before. (#79)
Bug Fixes
- Fix PTZ up/down moves doing nothing. Tilt speed (
yge) is now sent alongside pan speed, so control modules such as HikVision actually tilt and diagonal moves no longer only pan. (#78) - Filter soft-deleted ZoneMinder monitors from
get_monitors(). (#77)
Dependencies
Full Changelog: v0.5.6...v0.5.7