Update xknx to 0.15.3 (#42026)

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
Marvin Wichmann 2020-11-13 09:37:45 +01:00 committed by GitHub
parent 1a888433cb
commit 899fc3d35a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 70 additions and 30 deletions

View file

@ -41,3 +41,13 @@ class KNXSensor(KnxEntity, Entity):
if device_class in DEVICE_CLASSES:
return device_class
return None
@property
def force_update(self) -> bool:
"""
Return True if state updates should be forced.
If True, a state change will be triggered anytime the state property is
updated, not just when the value changes.
"""
return self._device.always_callback