update knx module to xknx 0.11.3 (#35154)
- add expose attribute function and default value - default climate havc_mode to "heat" if modes are not supported - support `update_entity` service call
This commit is contained in:
1 parent
c41fb2a21f
commit
7147c5306d
9 files changed
+85
-19
No files matched your search
@@ -77,6 +77,10 @@ class KNXSensor(Entity):
|
||||
"""Store register state change callback."""
|
||||
self.async_register_callbacks()
|
||||
|
||||
async def async_update(self):
|
||||
"""Update the state from KNX."""
|
||||
await self.device.sync()
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
"""Return the name of the KNX device."""
|
||||
|
||||
Reference in new issue
Block a user