diff --git a/custom_components/aigues_barcelona/sensor.py b/custom_components/aigues_barcelona/sensor.py index 9cbb236..5d528cc 100644 --- a/custom_components/aigues_barcelona/sensor.py +++ b/custom_components/aigues_barcelona/sensor.py @@ -139,8 +139,8 @@ async def _async_update_data(self): LAST_WEEK = TODAY - timedelta(days=7) LAST_TIME_DAYS = None - #last_measurement = await self.get_last_measurement_stored() - #_LOGGER.info("Last stored measurement: %s", last_measurement) + # last_measurement = await self.get_last_measurement_stored() + # _LOGGER.info("Last stored measurement: %s", last_measurement) try: previous = datetime.fromisoformat(self._data.get(CONF_STATE, ""))