core icon indicating copy to clipboard operation
core copied to clipboard

"Failed to Setup" error reloading Netatmo integration

Open sndrod opened this issue 8 months ago • 3 comments

The problem

When I reload Netatmo integration I get a "Failed to Setup" error. Whilst the integration seems to work, I assume it would be better to be error free

What version of Home Assistant Core has the issue?

Version core-2024.6.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Netatmo

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Log below. Preceding this are three other log errors related to "Platform netatmo does not generate unique IDs.", but they seem more warnings than anything fatal.



Logger: homeassistant.config_entries
Source: config_entries.py:594
First occurred: June 24, 2024 at 11:10:31 PM (6 occurrences)
Last logged: 7:37:49 AM

Error setting up entry Home Assistant Cloud for netatmo
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/netatmo/__init__.py", line 185, in async_setup_entry
    await register_webhook(None)
  File "/usr/src/homeassistant/homeassistant/components/netatmo/__init__.py", line 157, in register_webhook
    webhook_register(
  File "/usr/src/homeassistant/homeassistant/components/webhook/__init__.py", line 54, in async_register
    raise ValueError("Handler is already defined!")
ValueError: Handler is already defined!

Additional information

No response

sndrod avatar Jun 24 '24 21:06 sndrod