mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
that int() casting was redundant
This commit is contained in:
parent
959f6386b4
commit
c0c439c549
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user