added await to MotionCanceller

This commit is contained in:
John Lancaster
2023-11-25 18:50:47 -06:00
parent 021dc61c6b
commit e644eefa6d

View File

@@ -22,4 +22,4 @@ class MotionCanceller(SceneDetector):
async def scene_detected(self): async def scene_detected(self):
await super().scene_detected() await super().scene_detected()
app = await self.get_app(self.args['app']) app = await self.get_app(self.args['app'])
app.cancel_motion_callback(new='off') await app.cancel_motion_callback(new='off')