1
0
mirror of https://github.com/USA-RedDragon/badnest.git synced 2025-09-07 12:11:53 +01:00

2 Commits
3.1.2 ... 3.1.3

Author SHA1 Message Date
Jacob McSwain
1228304609 Merge pull request #21 from USA-RedDragon/eco-visual-bug
Fix eco going in and out on UI
2019-10-22 13:47:22 -05:00
Jacob McSwain
68e71850be Fix eco going in and out on UI 2019-10-22 13:46:47 -05:00

View File

@@ -169,7 +169,8 @@ class NestThermostatAPI(NestAPI):
self._hvac_ac_state = thermostat_data["hvac_ac_state"]
self._hvac_heater_state = \
thermostat_data["hvac_heater_state"]
temp_mode = thermostat_data["target_temperature_type"]
if temp_mode is None:
temp_mode = thermostat_data["target_temperature_type"]
self.target_temperature_high = thermostat_data[
"target_temperature_high"
]