mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 05:37:44 +00:00
Fix logic coverage in target_temperature
This commit is contained in:
parent
21812ba717
commit
775d3198ae
@ -112,7 +112,7 @@ class NestThermostat(ThermostatDevice):
|
||||
range_average = (low + high)/2
|
||||
if self.current_temperature < range_average:
|
||||
temp = low
|
||||
elif self.current_temperature > range_average:
|
||||
elif self.current_temperature >= range_average:
|
||||
temp = high
|
||||
else:
|
||||
temp = target
|
||||
|
Loading…
x
Reference in New Issue
Block a user