From cf4cc32b1300fde61c391e0f645b02ac0c883153 Mon Sep 17 00:00:00 2001 From: Jean-Marc Collin Date: Sat, 25 Jan 2025 10:56:15 +0000 Subject: [PATCH] Typos --- custom_components/versatile_thermostat/base_thermostat.py | 4 ++-- custom_components/versatile_thermostat/thermostat_climate.py | 4 ++-- custom_components/versatile_thermostat/underlyings.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/custom_components/versatile_thermostat/base_thermostat.py b/custom_components/versatile_thermostat/base_thermostat.py index 13cb16a..5bb3d25 100644 --- a/custom_components/versatile_thermostat/base_thermostat.py +++ b/custom_components/versatile_thermostat/base_thermostat.py @@ -1244,12 +1244,12 @@ class BaseThermostat(ClimateEntity, RestoreEntity, Generic[T]): async def async_set_humidity(self, humidity: int): """Set new target humidity.""" - _LOGGER.info("%s - Set fan mode: %s", self, humidity) + _LOGGER.info("%s - Set humidity: %s", self, humidity) return async def async_set_swing_mode(self, swing_mode: str): """Set new target swing operation.""" - _LOGGER.info("%s - Set fan mode: %s", self, swing_mode) + _LOGGER.info("%s - Set swing mode: %s", self, swing_mode) return async def async_set_temperature(self, **kwargs): diff --git a/custom_components/versatile_thermostat/thermostat_climate.py b/custom_components/versatile_thermostat/thermostat_climate.py index 276afae..3242af1 100644 --- a/custom_components/versatile_thermostat/thermostat_climate.py +++ b/custom_components/versatile_thermostat/thermostat_climate.py @@ -1104,7 +1104,7 @@ class ThermostatOverClimate(BaseThermostat[UnderlyingClimate]): @overrides async def async_set_humidity(self, humidity: int): """Set new target humidity.""" - _LOGGER.info("%s - Set fan mode: %s", self, humidity) + _LOGGER.info("%s - Set humidity: %s", self, humidity) if humidity is None: return for under in self._underlyings: @@ -1115,7 +1115,7 @@ class ThermostatOverClimate(BaseThermostat[UnderlyingClimate]): @overrides async def async_set_swing_mode(self, swing_mode): """Set new target swing operation.""" - _LOGGER.info("%s - Set fan mode: %s", self, swing_mode) + _LOGGER.info("%s - Set swing mode: %s", self, swing_mode) if swing_mode is None: return for under in self._underlyings: diff --git a/custom_components/versatile_thermostat/underlyings.py b/custom_components/versatile_thermostat/underlyings.py index ad14da5..9f1e559 100644 --- a/custom_components/versatile_thermostat/underlyings.py +++ b/custom_components/versatile_thermostat/underlyings.py @@ -611,7 +611,7 @@ class UnderlyingClimate(UnderlyingEntity): async def set_humidity(self, humidity: int): """Set new target humidity.""" - _LOGGER.info("%s - Set fan mode: %s", self, humidity) + _LOGGER.info("%s - Set humidity: %s", self, humidity) if not self.is_initialized: return data = { @@ -627,7 +627,7 @@ class UnderlyingClimate(UnderlyingEntity): async def set_swing_mode(self, swing_mode): """Set new target swing operation.""" - _LOGGER.info("%s - Set fan mode: %s", self, swing_mode) + _LOGGER.info("%s - Set swing mode: %s", self, swing_mode) if not self.is_initialized: return data = {