diff --git a/custom_components/fhem/sensor.py b/custom_components/fhem/sensor.py index 1909e90..c31dd3c 100644 --- a/custom_components/fhem/sensor.py +++ b/custom_components/fhem/sensor.py @@ -68,7 +68,7 @@ class FhemSensor(Entity): await self.async_update_ha_state() elif self._type == 'power' and line.startswith('power'): self._available = True - _, new_value = line + _, new_value = line.split(':') self._state = int(new_value) await self.async_update_ha_state() elif line.startswith('ResndFail') or line.startswith('MISSING ACK'):