mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
Fix slow status updates from the knx bus (#5963)
* Fix slow status updates from the knx bus The data set in the entity was an array, not the value. @fixes https://github.com/home-assistant/home-assistant/issues/4407 * speed up status update
This commit is contained in:
parent
401263519d
commit
5cad539859
@ -136,8 +136,8 @@ class KNXGroupAddress(Entity):
|
||||
information relating to this device.
|
||||
"""
|
||||
if (addr == self.state_address) or (addr == self.address):
|
||||
self._state = data
|
||||
self.update_ha_state()
|
||||
self._state = data[0]
|
||||
self.schedule_update_ha_state()
|
||||
|
||||
KNXTUNNEL.register_listener(self.address, handle_knx_message)
|
||||
if self.state_address:
|
||||
|
Loading…
x
Reference in New Issue
Block a user