mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
More target temperature nest fixes
This commit is contained in:
@@ -80,11 +80,11 @@ class NestThermostat(ThermostatDevice):
|
|||||||
low, high = target
|
low, high = target
|
||||||
|
|
||||||
if self.current_temperature < low:
|
if self.current_temperature < low:
|
||||||
target = low
|
temp = low
|
||||||
elif self.current_temperature > high:
|
elif self.current_temperature > high:
|
||||||
target = high
|
temp = high
|
||||||
else:
|
else:
|
||||||
target = low + high
|
temp = (low + high)/2
|
||||||
else:
|
else:
|
||||||
temp = target
|
temp = target
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user