mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Switched to async_fire (#17472)
This commit is contained in:
parent
e985f30247
commit
373e3b12d8
@ -240,7 +240,7 @@ class KNXModule:
|
||||
|
||||
async def telegram_received_cb(self, telegram):
|
||||
"""Call invoked after a KNX telegram was received."""
|
||||
self.hass.bus.fire('knx_event', {
|
||||
self.hass.bus.async_fire('knx_event', {
|
||||
'address': str(telegram.group_address),
|
||||
'data': telegram.payload.value
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user