From 7e8d9f3b834b7d2be5bfb1f6ef5231c17cdc9ef4 Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Sat, 8 Feb 2020 19:58:55 -0600 Subject: [PATCH] linting cleanup --- custom_components/infinitive/climate.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_components/infinitive/climate.py b/custom_components/infinitive/climate.py index ab6b8d1..3157cdd 100644 --- a/custom_components/infinitive/climate.py +++ b/custom_components/infinitive/climate.py @@ -285,7 +285,7 @@ def update(self): else: self._hvac_action = CURRENT_HVAC_IDLE except Exception as e: - _LOGGER.debug(f'Status update error: {e}') + _LOGGER.debug(f"Status update error: {e}") def _set_temperature_high(self, cool_setpoint): """Set new coolpoint target temperature.""" @@ -308,7 +308,7 @@ def set_temperature(self, **kwargs): self._set_temperature_high(temperature_high) self._set_temperature_low(temperature_low) _LOGGER.debug("Setting new target temperature: " + - str(temperature_high) + " " + str(temperature_low)) + str(temperature_high) + " " + str(temperature_low)) else: temperature = kwargs.get(ATTR_TEMPERATURE) if self._hvac_mode == 'cool': @@ -316,7 +316,7 @@ def set_temperature(self, **kwargs): elif self._hvac_mode == 'heat': self._set_temperature_low(temperature) _LOGGER.debug("Setting new target temperature: " + - str(temperature)) + str(temperature)) def set_fan_mode(self, fan_mode): """Set new fan mode."""