Skip to content

Failed to setup Aquarea: 'NoneType' object has no attribute 'value' on login (com.auth0.state) #414

@ezequielgn

Description

@ezequielgn

Checklist

  • I have verified that the account and device works in the Comfort Cloud App.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of currently previous issues..

What version of Home Assistant Core?

core-2025.10.3

Describe the issue

Hello, I am having issues setting up my Aquarea device. The integration logs in (I don't get an 'invalid login' error), but it fails to fetch the device (Got 0 devices). The debug log shows the following repeated error during the login process:

WARNING (MainThread) [custom_components.panasonic_cc] Failed to setup Aquarea: 'NoneType' object has no attribute 'value'
Traceback (most recent call last):
File "/config/custom_components/panasonic_cc/init.py", line 126, in async_setup_entry
await aquarea_api_client.login()
File "/usr/local/lib/python3.13/site-packages/aioaquarea/core.py", line 274, in login
await self.__login_production()
File "/usr/local/lib/python3.13/site-packages/aioaquarea/core.py", line 298, in __login_production
auth_state = response.cookies.get("com.auth0.state").value
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'value'

It seems the login process isn't correctly receiving the com.auth0.state cookie. This might be related to a complex account ownership issue I had in the past.

Error/Debug Logs


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions