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']: