mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
More target temperature nest fixes
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user