Hi! I just upgraded to 0.118 and tried setting up my nest thermostat as per the instructions provided. It didnāt seem like I encountered any errors during setup, but when I finally add the Nest integration, no device is found.
When I check the logs, I see that there is an error in setting up the Nest platform:
Logger: homeassistant.components.climate
Source: components/nest/sensor_sdm.py:36
Integration: Climate (documentation, issues)
First occurred: 9:27:07 PM (2 occurrences)
Last logged: 9:41:36 PM
Error while setting up nest platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 199, in _async_setup_platform
await asyncio.shield(task)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 199, in _async_setup_platform
await asyncio.shield(task)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 199, in _async_setup_platform
await asyncio.shield(task)
File "/usr/src/homeassistant/homeassistant/components/nest/climate.py", line 18, in async_setup_entry
await async_setup_sdm_entry(hass, entry, async_add_entities)
File "/usr/src/homeassistant/homeassistant/components/nest/climate_sdm.py", line 83, in async_setup_sdm_entry
device_manager = await subscriber.async_get_device_manager()
File "/usr/local/lib/python3.8/site-packages/google_nest_sdm/google_nest_subscriber.py", line 97, in async_get_device_manager
return await self._device_manager_task
File "/usr/src/homeassistant/homeassistant/components/nest/camera.py", line 18, in async_setup_entry
await async_setup_sdm_entry(hass, entry, async_add_entities)
File "/usr/src/homeassistant/homeassistant/components/nest/camera_sdm.py", line 35, in async_setup_sdm_entry
device_manager = await subscriber.async_get_device_manager()
File "/usr/local/lib/python3.8/site-packages/google_nest_sdm/google_nest_subscriber.py", line 97, in async_get_device_manager
return await self._device_manager_task
File "/usr/src/homeassistant/homeassistant/components/nest/sensor.py", line 19, in async_setup_entry
await async_setup_sdm_entry(hass, entry, async_add_entities)
File "/usr/src/homeassistant/homeassistant/components/nest/sensor_sdm.py", line 36, in async_setup_sdm_entry
device_manager = await subscriber.async_get_device_manager()
File "/usr/local/lib/python3.8/site-packages/google_nest_sdm/google_nest_subscriber.py", line 97, in async_get_device_manager
return await self._device_manager_task
File "/usr/local/lib/python3.8/site-packages/google_nest_sdm/google_nest_subscriber.py", line 106, in _async_create_device_manager
devices = await self._api.async_get_devices()
File "/usr/local/lib/python3.8/site-packages/google_nest_sdm/google_nest_api.py", line 46, in async_get_devices
devices = response_data["devices"]
KeyError: 'devices'
I also notice that when I make a device list call using curl I get an empty response. It seems like somehow Iām not able to retrieve my thermostat even though I granted permission to allow the Device Access console to control the thermostatā¦??
Has anybody encountered this problem? Any solutions? Thanks!