core: Error setting up Nest

The problem

Nest Legacy integration is not working on the latest beta.

What version of Home Assistant Core has the issue?

2022.7.0b0

What was the last working version of Home Assistant Core?

2022.6.x

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Nest Legacy

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.config_entries
Source: components/nest/__init__.py:185 
First occurred: 9:33:11 PM (1 occurrences) 
Last logged: 9:33:11 PM

Error setting up entry for nest
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 353, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/nest/__init__.py", line 185, in async_setup_entry
    elif entry.unique_id != entry.data[CONF_PROJECT_ID]:
KeyError: 'project_id'

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 18 (15 by maintainers)

Most upvoted comments

ok, I may be mistaken if it was >2 years ago, and there is a subtle use case here I wasn’t aware of from before i started working on this. Let me see if i can patch this…