Update xknx to 0.15.3 (#42026)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
parent
1a888433cb
commit
899fc3d35a
8 changed files with 70 additions and 30 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue