diff --git a/custom_components/peaqev/sensors/power/powercanary_sensor.py b/custom_components/peaqev/sensors/power/powercanary_sensor.py index 4a34f6c3..488cbd93 100644 --- a/custom_components/peaqev/sensors/power/powercanary_sensor.py +++ b/custom_components/peaqev/sensors/power/powercanary_sensor.py @@ -54,7 +54,9 @@ def state(self) -> int: async def async_update(self) -> None: if self.hub.is_initialized: - self._state = self.hub.power.power_canary.state_string # todo: composition + ret = self.hub.power.power_canary.state_string # todo: composition + if ret != self._state: + self._state = ret class PowerCanaryPercentageSensor(PowerCanaryDevice):