diff --git a/custom_components/tapo_control/camera.py b/custom_components/tapo_control/camera.py index 5a9fb1f..68492c5 100644 --- a/custom_components/tapo_control/camera.py +++ b/custom_components/tapo_control/camera.py @@ -223,7 +223,7 @@ def model(self): def should_poll(self): return True - async def async_camera_image(self): + async def async_camera_image(self, width=None, height=None): ffmpeg = ImageFrame(self._ffmpeg.binary) streaming_url = self.getStreamSource() image = await asyncio.shield( diff --git a/custom_components/tapo_control/manifest.json b/custom_components/tapo_control/manifest.json index 7085649..92917f0 100644 --- a/custom_components/tapo_control/manifest.json +++ b/custom_components/tapo_control/manifest.json @@ -4,7 +4,7 @@ "documentation": "https://github.com/JurajNyiri/HomeAssistant-Tapo-Control", "issue_tracker": "https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues", "codeowners": ["@JurajNyiri"], - "version": "3.3.3", + "version": "3.4.1", "requirements": [ "pytapo==1.2.1", "onvif-zeep-async==1.0.0",