From 4beb976347302730c2e975d029b72dc5d4646ae0 Mon Sep 17 00:00:00 2001 From: mkmer Date: Fri, 3 Nov 2023 17:34:02 +0000 Subject: [PATCH] Check for none and empty dict --- blinkpy/camera.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blinkpy/camera.py b/blinkpy/camera.py index e3af62e9..9b848a26 100644 --- a/blinkpy/camera.py +++ b/blinkpy/camera.py @@ -217,7 +217,7 @@ async def set_motion_detect(self, enable): async def update(self, config, force_cache=False, expire_clips=True, **kwargs): """Update camera info.""" - if config != {}: + if bool(config): self.extract_config_info(config) await self.get_sensor_info() await self.update_images(