diff --git a/custom_components/plugwise-beta/sensor.py b/custom_components/plugwise-beta/sensor.py index 1dd575547..266dea412 100644 --- a/custom_components/plugwise-beta/sensor.py +++ b/custom_components/plugwise-beta/sensor.py @@ -277,6 +277,8 @@ def update(self): if self._sensor in data: if data[self._sensor] is not None: measurement = data[self._sensor] + if self._sensor == "battery": + measurement = int(measurement * 100) self._state = measurement