mirror of
https://github.com/USA-RedDragon/badnest.git
synced 2025-01-18 18:20:44 +00:00
Fix eco going in and out on UI
This commit is contained in:
parent
98daabc5d7
commit
68e71850be
@ -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"
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user