Switched to async_fire (#17472)

This commit is contained in:
Julius Mittenzwei authored and Paulus Schoutsen committed 2018-10-15 12:16:40 +02:00
1 parent e985f30247
commit 373e3b12d8
1 file changed
+1 -1
+1 -1
View File
@@ -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
})