1
0
mirror of https://github.com/USA-RedDragon/badnest.git synced 2025-01-18 18:10:42 +00:00

Fix eco going in and out on UI

This commit is contained in:
Jacob McSwain 2019-10-22 13:46:47 -05:00
parent 98daabc5d7
commit 68e71850be
No known key found for this signature in database
GPG Key ID: 59957AD09B94EDF5

View File

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