Skip to content

Upgrading to HA Core 8.2 from 8.1 caused all Growatt entities to become unavailable. Reverting to 8.1 did not fix #150732

Description

@NicolasAmbrose

The problem

I just upgraded to Core 8.2 from 8.1. Once everything was up, the Growatt integration reported an issue and all points were unavailable. It said--Needs attention, failed to set up, check the logs. There was also an Add Entry button. I checked the logs. Add entry asks for Growatt username, password, and server. I tried that using the US server as had been used previously, and the generic server. This reported Unknown Error Occurred. Rolling back to Core 8.1 did not fix the issue. I logged into the Growatt server website directly from the browser using the same credentials and US server address and that worked fine.

Image

What version of Home Assistant Core has the issue?

2025.8.2

What was the last working version of Home Assistant Core?

2025.8.1 but now it doesn't work either

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Growatt Server Integration

Link to integration documentation on our website

https://www.home-assistant.io/integrations/growatt_server

Diagnostics information

No response

Example YAML snippet

Anything in the logs that might be useful for us?

The log:

Logger: homeassistant.config_entries
Source: config_entries.py:749
First occurred: 3:42:35 PM (2 occurrences)
Last logged: 3:43:44 PM

Error setting up entry Growatt11223 for growatt_server
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/growatt_server/__init__.py", line 65, in async_setup_entry
    devices, plant_id = await hass.async_add_executor_job(get_device_list, api, config)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/growatt_server/__init__.py", line 36, in get_device_list
    user_id = login_response["user"]["id"]
              ~~~~~~~~~~~~~~^^^^^^^^
KeyError: 'user'

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions