Nest integration not working when setup via configuration.yaml

Device: Home Assistant Yellow
OS Version: 9.4
Core Version: 2023.1.7

I’m trying to load the nest integration using the old “Works with Nest API” by entering the details in the configuration.yaml file. I’ve entered the correct client_id and client_secret just like in my old installation, but it does not load the integration or any entities. It just shows the auto-discover Nest card still.

nest:
  client_id: clientid
  client_secret: secret

I set the logging to debug, and I could only find a few mentions of the nest component, but no errors:

2023-01-25 14:03:39.634 DEBUG (MainThread) [homeassistant.helpers.translation] Cache miss for en: (lists like 300 integrations including nest)
2023-01-25 14:03:42.065 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'automation', 'auth', 'scene', 'input_datetime', 'script', 'alexa', 'image_upload', 'ffmpeg', 'onboarding', 'openweathermap', 'person', 'config', 'harmony', 'application_credentials', 'lovelace', 'homeassistant_alerts', 'schedule', 'blueprint', 'system_health', 'sonos', 'counter', 'energy', 'analytics', 'trace', 'zone', 'timer', 'homeassistant_hardware', 'map', 'logbook', 'diagnostics', 'default_config', 'input_text', 'sun', 'lifx', 'device_automation', 'input_boolean', 'nest', 'input_number', 'media_source', 'my', 'history', 'search', 'homeassistant_yellow', 'smartthings', 'input_select', 'upnp', 'repairs', 'remote', 'file_upload', 'mobile_app', 'tag', 'litterrobot', 'switch', 'hardware', 'met', 'input_button', 'radio_browser', 'plex'}
2023-01-25 14:03:42.150 DEBUG (MainThread) [homeassistant.setup] Dependency nest will wait for dependencies ['ffmpeg', 'application_credentials']
2023-01-25 14:03:42.150 DEBUG (MainThread) [homeassistant.setup] Dependency nest will wait for after dependencies ['media_source']
2023-01-25 14:03:46.205 DEBUG (MainThread) [homeassistant.bootstrap] Running timeout Zones: {'sonos': <sonos: 0 / 1>, 'default_config': <default_config: 0 / 1>, 'upnp': <upnp: 0 / 1>, 'litterrobot': <litterrobot: 0 / 1>, 'met': <met: 0 / 1>, 'radio_browser': <radio_browser: 0 / 1>, 'plex': <plex: 0 / 1>, 'sensor': <sensor: 1 / 0>, 'harmony': <harmony: 0 / 1>, 'mobile_app': <mobile_app: 0 / 1>, 'smartthings': <smartthings: 1 / 0>, 'nest': <nest: 0 / 1>}
2023-01-25 14:03:48.239 INFO (MainThread) [homeassistant.setup] Setting up nest
2023-01-25 14:03:48.242 INFO (MainThread) [homeassistant.setup] Setup of domain nest took 0.0 seconds
2023-01-25 14:03:48.272 DEBUG (MainThread) [homeassistant.bootstrap] Integration remaining: {'smartthings': 2.11059, 'upnp': 1.972626, 'litterrobot': 1.715774, 'met': 1.703854, 'radio_browser': 1.478678, 'plex': 1.243727, 'harmony': 1.139134, 'mobile_app': 1.016219, 'nest': 0.032652}

It’s worth noting that if I load the old server up, it can still see and control the Nest integration just fine, though it is running on Core version 2022.8.7

I did not restore a backup to setup the new HA on the Yellow because I had a large number of things all janked up on the old one and wanted to start clean.

I just went through almost the same thing. Moved up from 2021.12.10 to 2021.1.3 on a freshly installed system (OS and all.) I added the nest configuration.yaml entry, tried to go through the config flow, but it got stuck trying to get the pin from the Nest website. So, shut it down, left the config entry as is, but then copied over the nest entry from the old .storage/core.config_entries JSON file to the same file on the new system. Restarted and all the nest entities showed up.

1 Like

@pnbruckner You are a genius! That worked perfectly, thanks!

1 Like