mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +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):
|
def min_away_temp(self):
|
||||||
"""Return the minimum target temperature to be used in away mode."""
|
"""Return the minimum target temperature to be used in away mode."""
|
||||||
if self._min_away_temp and self._min_away_temp > self.min_temp:
|
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
|
return self.min_temp
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user