fix(scene): apply observer middleware for scene actions

This commit is contained in:
Вадим Христенко 2025-04-14 23:01:24 +03:00 committed by GitHub
parent 383d76e7de
commit 729a17903e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -584,7 +584,7 @@ class SceneWizard:
await action_config[event_type].call(self.scene, self.event, **{**self.data, **kwargs})
return True
async def _actual_handler(event, data):
async def _actual_handler(event, **data):
return await action_config[event_type].call(self.scene, event, **data)
await observer.wrap_outer_middleware(