diff --git a/custom_components/growcube/coordinator.py b/custom_components/growcube/coordinator.py index e754161..47e8191 100644 --- a/custom_components/growcube/coordinator.py +++ b/custom_components/growcube/coordinator.py @@ -125,7 +125,7 @@ def handle_report(self, report: GrowcubeReport): self.set_device_id(report.device_id) elif isinstance(report, WaterStateGrowcubeReport): _LOGGER.debug(f"Water state {report.water_warning}") - self.data.water_state = report.water_warning + self.data.water_state = not report.water_warning elif isinstance(report, MoistureHumidityStateGrowcubeReport): _LOGGER.debug(f"Sensor reading, channel %s, humidity %s, temperature %s, moisture %s", report.channel,