diff --git a/homeassistant/components/qvr_pro/camera.py b/homeassistant/components/qvr_pro/camera.py index 28f607165a7..9dd8e3c4f20 100644 --- a/homeassistant/components/qvr_pro/camera.py +++ b/homeassistant/components/qvr_pro/camera.py @@ -90,6 +90,13 @@ class QVRProCamera(Camera): def camera_image(self): """Get image bytes from camera.""" + try: + return self._client.get_snapshot(self.guid) + + except QVRResponseError as ex: + _LOGGER.error("Error getting image: %s", ex) + self._client.connect() + return self._client.get_snapshot(self.guid) async def stream_source(self): diff --git a/homeassistant/components/qvr_pro/manifest.json b/homeassistant/components/qvr_pro/manifest.json index 5a81f1ce37a..d6365afd213 100644 --- a/homeassistant/components/qvr_pro/manifest.json +++ b/homeassistant/components/qvr_pro/manifest.json @@ -2,6 +2,6 @@ "domain": "qvr_pro", "name": "QVR Pro", "documentation": "https://www.home-assistant.io/integrations/qvr_pro", - "requirements": ["pyqvrpro==0.51"], + "requirements": ["pyqvrpro==0.52"], "codeowners": ["@oblogic7"] } diff --git a/requirements_all.txt b/requirements_all.txt index 64d4727312c..7f62e9e3044 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1499,7 +1499,7 @@ pypoint==1.1.2 pyps4-2ndscreen==1.0.7 # homeassistant.components.qvr_pro -pyqvrpro==0.51 +pyqvrpro==0.52 # homeassistant.components.qwikswitch pyqwikswitch==0.93