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