fixed kwargs
This commit is contained in:
@@ -18,7 +18,7 @@ class SceneDetector(Hass):
|
||||
)
|
||||
self.log(f"Waiting for scene '{self.scene_entity.friendly_name}' to activate")
|
||||
|
||||
async def event_callback(self, event_name, data, cb_args):
|
||||
async def event_callback(self, event_name, data, **kwargs):
|
||||
entity_id = data['service_data']['entity_id']
|
||||
if entity_id == self.scene_entity.entity_id:
|
||||
await self.scene_detected()
|
||||
|
||||
Reference in New Issue
Block a user