Skip to content

Commit

Permalink
linting cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mww012 committed Feb 9, 2020
1 parent ca8cd53 commit 7e8d9f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/infinitive/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand All @@ -308,15 +308,15 @@ 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':
self._set_temperature_high(temperature)
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."""
Expand Down

0 comments on commit 7e8d9f3

Please sign in to comment.