From 1685bbe1f7b39682d0b526ce4dd199c1f49a9054 Mon Sep 17 00:00:00 2001 From: Josh Wright Date: Tue, 12 Apr 2016 18:45:57 -0400 Subject: [PATCH] Fix copy/paste logic error --- homeassistant/components/thermostat/nest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/thermostat/nest.py b/homeassistant/components/thermostat/nest.py index 7f78b4b2238..63892238f58 100644 --- a/homeassistant/components/thermostat/nest.py +++ b/homeassistant/components/thermostat/nest.py @@ -93,7 +93,7 @@ class NestThermostat(ThermostatDevice): if (self.device.structure.weather.current.temperature < self.current_temperature): temp = low - elif self.current_temperature >= range_average: + else: temp = high else: if self.is_away_mode_on: