Hello,
I’m trying to take my Nest Thermostat out of eco mode (the new"er" name for away mode).
According to the documentation at https://www.home-assistant.io/components/nest/ the following action should work:
action:
# Turn off away (eco) mode for Nest
- service: nest.set_mode
data:
home_mode: home
But it doesn’t, I’m getting an error:
Log Details (ERROR)
Sat Mar 31 2018 11:14:58 GMT-0400 (EDT)
Error executing service <ServiceCall climate.set_away_mode: away_mode=False>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/core.py", line 1006, in _event_to_service_call
await service_handler.func(service_call)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/climate/__init__.py", line 256, in async_away_mode_set_service
await climate.async_turn_away_mode_off()
File "/usr/local/lib/python3.6/asyncio/futures.py", line 327, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
future.result()
File "/usr/local/lib/python3.6/asyncio/futures.py", line 243, in result
raise self._exception
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/climate/nest.py", line 203, in turn_away_mode_off
self.structure.away = False
File "/home/ha/.homeassistant/deps/lib/python3.6/site-packages/nest/nest.py", line 1269, in away
self._set_away(value)
File "/home/ha/.homeassistant/deps/lib/python3.6/site-packages/nest/nest.py", line 1261, in _set_away
self._set('structures', {'away': AWAY_MAP[value]})
File "/home/ha/.homeassistant/deps/lib/python3.6/site-packages/nest/nest.py", line 168, in _set
response = self._nest_api._put(path=path, data=data)
File "/home/ha/.homeassistant/deps/lib/python3.6/site-packages/nest/nest.py", line 1590, in _put
return self._request('PUT', path, data=data)
File "/home/ha/.homeassistant/deps/lib/python3.6/site-packages/nest/nest.py", line 1582, in _request
raise APIError(response)
nest.nest.APIError: blocked
Turning on eco mode for the Nest does work and I use this action:
action:
# Turn on away (eco) mode for Nest
- service: nest.set_mode
data:
home_mode: away
Could this be a bug with the nest component or is the documentation not up-to-date?