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:
Matthias Alphart authored and GitHub committed 2020-05-13 09:19:00 -04:00
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."""