I am getting the following error when trying to use the Nest away functionality:
2018-11-20 20:59:39 DEBUG (MainThread) [homeassistant.components.nest] proceeding with setup
2018-11-20 20:59:39 INFO (SyncWorker_3) [nest.nest] Open data stream
2018-11-20 20:59:39 DEBUG (SyncWorker_3) [nest.nest] >> STREAM https://developer-api.nest.com/
2018-11-20 20:59:41 DEBUG (SyncWorker_3) [nest.nest] << 307
2018-11-20 20:59:41 DEBUG (SyncWorker_3) [nest.nest] >> STREAM https://firebase-apiserver41-tah01-iad01.dapi.production.nest.com:9553/
2018-11-20 20:59:42 DEBUG (SyncWorker_3) [nest.nest] << 200
2018-11-20 20:59:42 DEBUG (Thread-2) [nest.nest] Starting event loop.
2018-11-20 20:59:42 DEBUG (Thread-2) [sseclient] Initialized SSE client from event source <generator object Response.iter_content..generate at 0xb39e3ed0>
2018-11-20 20:59:52 INFO (SyncWorker_3) [nest.nest] Event loop started.
2018-11-20 20:59:53 DEBUG (MainThread) [homeassistant.components.nest] async_setup_nest is done
2018-11-20 20:59:56 DEBUG (Thread-2) [sseclient] Dispatching put event, 7693 bytes…
2018-11-20 20:59:56 DEBUG (Thread-2) [nest.nest] <<< put event
2018-11-20 20:59:59 DEBUG (SyncWorker_0) [homeassistant.components.nest] Ignoring structure XXXXXX, not in
2018-11-20 21:00:00 DEBUG (SyncWorker_0) [homeassistant.components.nest] Ignoring structure XXXXXX, not in
2018-11-20 21:00:00 DEBUG (SyncWorker_0) [homeassistant.components.nest] Ignoring structure XXXXXX, not in
2018-11-20 21:00:00 DEBUG (SyncWorker_0) [homeassistant.components.nest] Ignoring structure XXXXXX, not in
2018-11-20 21:00:00 DEBUG (MainThread) [homeassistant.components.nest] Ignoring structure XXXXXX, not in
2018-11-20 21:00:00 DEBUG (MainThread) [homeassistant.components.nest] Ignoring structure XXXXXX, not in
2018-11-20 21:00:00 DEBUG (SyncWorker_2) [homeassistant.components.nest] Ignoring structure XXXXXX, not in
2018-11-20 21:00:00 DEBUG (SyncWorker_2) [homeassistant.components.nest] Ignoring structure XXXXXX, not in
2018-11-20 21:00:00 DEBUG (SyncWorker_2) [homeassistant.components.nest] Ignoring structure XXXXXX, not in
2018-11-20 21:00:00 DEBUG (SyncWorker_2) [homeassistant.components.nest] Ignoring structure XXXXXX, not in
2018-11-20 21:00:14 DEBUG (Thread-2) [nest.nest] <<< keep-alive event
2018-11-20 21:00:29 DEBUG (Nest update listener) [homeassistant.components.nest] listening nest.update_event
2018-11-20 21:00:29 DEBUG (Nest update listener) [homeassistant.components.nest] dispatching nest data update
2018-11-20 21:06:13 DEBUG (Thread-2) [nest.nest] <<< keep-alive event
2018-11-20 21:06:31 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall nest.set_mode (c:54f3461266cb459aa9df250806279e0d): home_mode=away>
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/core.py”, line 1185, in _event_to_service_call
await self._hass.async_add_executor_job(execute_service)
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/core.py”, line 1182, in execute_service
service_handler.func(service_call)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/nest/init.py”, line 167, in set_mode
service.data[ATTR_STRUCTURE])
KeyError: ‘structure’
2018-11-20 21:06:42 DEBUG (Thread-2) [nest.nest] <<< keep-alive event
2018-11-20 21:07:03 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall nest.set_mode (c:dd71af4701a74bcfafa0b069b14c13e1): home_mode=away>
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/core.py”, line 1185, in _event_to_service_call
await self._hass.async_add_executor_job(execute_service)
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/core.py”, line 1182, in execute_service
service_handler.func(service_call)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/nest/init.py”, line 167, in set_mode
service.data[ATTR_STRUCTURE])
KeyError: ‘structure’
The settings in confirmation.yaml are seemingly valid as it’s loaded the structure name and my camera. But they don’t have entity IDs and it’s not listed my temp sensors:
The permissions have been set I think.
I’m running version 0.82.1.