Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netatmo handler is already defined #134977

Open
tjorim opened this issue Jan 7, 2025 · 1 comment
Open

Netatmo handler is already defined #134977

tjorim opened this issue Jan 7, 2025 · 1 comment
Assignees

Comments

@tjorim
Copy link
Contributor

tjorim commented Jan 7, 2025

The problem

Getting the error in the logs below.

What version of Home Assistant Core has the issue?

core-2025.1.0

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

config_entry-netatmo-01J50SADS1Q8ZAAQBAKN805CY3.json

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant
Source: components/webhook/__init__.py:54
First occurred: January 6, 2025 at 12:09:40 (13 occurrences)
Last logged: 12:17:23

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/netatmo/__init__.py", line 157, in register_webhook
    webhook_register(
    ~~~~~~~~~~~~~~~~^
        hass,
        ^^^^^
    ...<3 lines>...
        async_handle_webhook,
        ^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  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

@home-assistant
Copy link

home-assistant bot commented Jan 7, 2025

Hey there @cgtobi, mind taking a look at this issue as it has been labeled with an integration (netatmo) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of netatmo can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign netatmo Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


netatmo documentation
netatmo source
(message by IssueLinks)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants