From 85962e4649a21f2855f888a0f0f21a396cd95200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Nyi=CC=81ri?= Date: Fri, 3 Sep 2021 14:19:54 +0200 Subject: [PATCH] Update: Compatibility with 2021.9.0 --- custom_components/tapo_control/camera.py | 2 +- custom_components/tapo_control/manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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",