mirror of
https://github.com/USA-RedDragon/badnest.git
synced 2025-01-18 23:10:42 +00:00
Add auto eco mode to set of eco modes
This commit is contained in:
parent
f1abecefce
commit
c4f702b859
@ -166,7 +166,8 @@ class NestThermostatAPI(NestAPI):
|
|||||||
self.has_fan = thermostat_data["has_fan"]
|
self.has_fan = thermostat_data["has_fan"]
|
||||||
self.fan = thermostat_data["fan_timer_timeout"] > 0
|
self.fan = thermostat_data["fan_timer_timeout"] > 0
|
||||||
self.current_humidity = thermostat_data["current_humidity"]
|
self.current_humidity = thermostat_data["current_humidity"]
|
||||||
if thermostat_data["eco"]["mode"] == 'manual-eco':
|
if thermostat_data["eco"]["mode"] == 'manual-eco' or \
|
||||||
|
thermostat_data["eco"]["mode"] == 'auto-eco':
|
||||||
temp_mode = 'eco'
|
temp_mode = 'eco'
|
||||||
self.mode = temp_mode
|
self.mode = temp_mode
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user