We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 39c9f5b + 0db8972 commit 02649aeCopy full SHA for 02649ae
custom_components/plugwise-beta/sensor.py
@@ -341,7 +341,7 @@ def update(self):
341
if self._sensor in data:
342
if data[self._sensor] is not None:
343
measurement = data[self._sensor]
344
- if self._sensor == "battery":
+ if self._sensor == "battery" or self._sensor == "valve_position":
345
measurement = measurement * 100
346
if self._unit_of_measurement == "%":
347
measurement = int(measurement)
0 commit comments