diff --git a/custom_components/versatile_thermostat/thermostat_climate.py b/custom_components/versatile_thermostat/thermostat_climate.py index 5473f44..f857a3a 100644 --- a/custom_components/versatile_thermostat/thermostat_climate.py +++ b/custom_components/versatile_thermostat/thermostat_climate.py @@ -833,7 +833,8 @@ async def end_climate_changed(changes: bool): and under.last_sent_temperature is not None ): _LOGGER.debug( - "Do temperature check. under.last_sent_temperature is %s, new_target_temp is %s", + "%s - Do temperature check. under.last_sent_temperature is %s, new_target_temp is %s", + self, under.last_sent_temperature, new_target_temp, ) diff --git a/custom_components/versatile_thermostat/thermostat_climate_valve.py b/custom_components/versatile_thermostat/thermostat_climate_valve.py index 57dc4d3..6e219cc 100644 --- a/custom_components/versatile_thermostat/thermostat_climate_valve.py +++ b/custom_components/versatile_thermostat/thermostat_climate_valve.py @@ -256,8 +256,11 @@ async def _send_regulated_temperature(self, force=False): ) self._last_regulation_change = self.now + self.reset_last_change_time_from_vtherm() - _LOGGER.debug("%s - last_regulation_change is now: %s", self, self._last_regulation_change) + _LOGGER.debug( + "%s - last_regulation_change is now: %s and last_change_from_vtherm is now: %s", self, self._last_regulation_change, self._last_change_time_from_vtherm + ) # pylint: disable=protected-access for under in self._underlyings_valve_regulation: await under.set_valve_open_percent()