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
@@ -124,6 +124,10 @@ class KNXBinarySensor(BinarySensorEntity):
|
||||
"""Store register state change callback."""
|
||||
self.async_register_callbacks()
|
||||
|
||||
async def async_update(self):
|
||||
"""Request a state update from KNX bus."""
|
||||
await self.device.sync()
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
"""Return the name of the KNX device."""
|
||||
|
||||
Reference in new issue
Block a user