mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
that int() casting was redundant
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user