Force updates for ozw sensors (#38003)
* Force updates and disable polling * Move force_update to sensorpull/38009/head
parent
65eedcf434
commit
d0d4e08a2a
|
@ -87,6 +87,11 @@ class ZwaveSensorBase(ZWaveDeviceEntity):
|
|||
return False
|
||||
return True
|
||||
|
||||
@property
|
||||
def force_update(self) -> bool:
|
||||
"""Force updates."""
|
||||
return True
|
||||
|
||||
|
||||
class ZWaveNumericSensor(ZwaveSensorBase):
|
||||
"""Representation of a Z-Wave sensor."""
|
||||
|
|
Loading…
Reference in New Issue