mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 18:27:09 +00:00
Fixes KNX fire event problem, issue https://github.com/home-assistant/home-assistant/issues/13049 (#13062)
This commit is contained in:
parent
28ff1f7ac2
commit
3f6d30ed06
@ -17,7 +17,7 @@ import homeassistant.helpers.config_validation as cv
|
|||||||
from homeassistant.helpers.event import async_track_state_change
|
from homeassistant.helpers.event import async_track_state_change
|
||||||
from homeassistant.helpers.script import Script
|
from homeassistant.helpers.script import Script
|
||||||
|
|
||||||
REQUIREMENTS = ['xknx==0.8.4']
|
REQUIREMENTS = ['xknx==0.8.5']
|
||||||
|
|
||||||
DOMAIN = "knx"
|
DOMAIN = "knx"
|
||||||
DATA_KNX = "data_knx"
|
DATA_KNX = "data_knx"
|
||||||
@ -241,7 +241,7 @@ class KNXModule(object):
|
|||||||
async def telegram_received_cb(self, telegram):
|
async def telegram_received_cb(self, telegram):
|
||||||
"""Call invoked after a KNX telegram was received."""
|
"""Call invoked after a KNX telegram was received."""
|
||||||
self.hass.bus.fire('knx_event', {
|
self.hass.bus.fire('knx_event', {
|
||||||
'address': telegram.group_address.str(),
|
'address': str(telegram.group_address),
|
||||||
'data': telegram.payload.value
|
'data': telegram.payload.value
|
||||||
})
|
})
|
||||||
# False signals XKNX to proceed with processing telegrams.
|
# False signals XKNX to proceed with processing telegrams.
|
||||||
|
@ -1274,7 +1274,7 @@ xbee-helper==0.0.7
|
|||||||
xboxapi==0.1.1
|
xboxapi==0.1.1
|
||||||
|
|
||||||
# homeassistant.components.knx
|
# homeassistant.components.knx
|
||||||
xknx==0.8.4
|
xknx==0.8.5
|
||||||
|
|
||||||
# homeassistant.components.media_player.bluesound
|
# homeassistant.components.media_player.bluesound
|
||||||
# homeassistant.components.sensor.startca
|
# homeassistant.components.sensor.startca
|
||||||
|
Loading…
x
Reference in New Issue
Block a user