Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106357

Failed to call service netatmo.register_webhook. Unknown error

$
0
0

HA 2024.7.3 NabuCasa
I have registered my Netatmo.dev App and the client ID and client Secret have been entered into the an added Netatmo application credential. Restarted HA and I get this in the log:

Logger: homeassistant.helpers.script.websocket_api_script
Source: helpers/script.py:527
First occurred: 20:32:26 (2 occurrences)
Last logged: 20:35:22

websocket_api script: Error executing script. Unexpected error for call_service at pos 1: Handler is already defined!
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 527, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 764, in _async_call_service_step
    response_data = await self._async_run_long_action(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 727, in _async_run_long_action
    return await long_task
           ^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2731, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2774, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  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!

My attempt to run the service Netamo:Register webhook only results in this error message:

Failed to call service netatmo.register_webhook. Unknown error

Any help is highly appreciated.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106357

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>