From 4014c60148856fd402ef29f6b2e329eae068b791 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Wed, 12 Jun 2024 08:01:30 -0500 Subject: [PATCH] async fix --- apps/scene_detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/scene_detect.py b/apps/scene_detect.py index 6fba109..e7f3ccf 100644 --- a/apps/scene_detect.py +++ b/apps/scene_detect.py @@ -33,7 +33,7 @@ class MotionCanceller(SceneDetector): async def scene_detected(self): await super().scene_detected() app: Motion = await self.get_app(self.args['app']) - callbacks = await self.get_callback_entries()[app.name] + callbacks = (await self.get_callback_entries())[app.name] for handle, info in callbacks.items(): if info['entity'] == app.sensor.entity_id and 'new=off' in info['kwargs']: