that int() casting was redundant

This commit is contained in:
Derek Brooks 2017-11-13 22:45:29 -06:00
parent 959f6386b4
commit c0c439c549

View File

@ -94,7 +94,7 @@ class NuHeatThermostat(ClimateDevice):
def min_away_temp(self):
"""Return the minimum target temperature to be used in away mode."""
if self._min_away_temp and self._min_away_temp > self.min_temp:
return int(self._min_away_temp)
return self._min_away_temp
return self.min_temp