core: Fritz Box Tools: Service fritz.reconnect not working

The problem

Since HA 2021.11.0 Service fritz.reconnect does not work.

image

`Logger: homeassistant.helpers.script.websocket_api_script Source: helpers/script.py:1365 First occurred: 21:06:42 (1 occurrences) Last logged: 21:06:42

websocket_api script: Error executing script. Error for call_service at pos 1: Service or parameter unknown`

`Logger: homeassistant.components.websocket_api.http.connection Source: components/websocket_api/connection.py:134 Integration: Home Assistant WebSocket API (documentation, issues) First occurred: 21:06:42 (1 occurrences) Last logged: 21:06:42

[546623668768] Error handling message: Service or parameter unknown`

What version of Home Assistant Core has the issue?

core-2021.11.1

What was the last working version of Home Assistant Core?

core-2021.10.0

What type of installation are you running?

Home Assistant OS

Integration causing the issue

AVM FRITZ!Box Tools

Link to integration documentation on our website

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

Example YAML snippet

service: fritz.reconnect
data:
  device_id: fa303df8a4c34c0c67fbfa07eec035bb

Anything in the logs that might be useful for us?

2021-11-05 21:04:19 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Unexpected error for call_service at pos 1: not enough values to unpack (expected 2, got 1)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 371, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 571, in _async_call_service_step
    await service_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 1495, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1530, in _execute_service
    await handler.job.target(service_call)
  File "/usr/src/homeassistant/homeassistant/components/fritz/services.py", line 34, in async_call_fritz_service
    fritzbox_entry_ids := await _async_get_configured_fritz_tools(
  File "/usr/src/homeassistant/homeassistant/components/fritz/services.py", line 63, in _async_get_configured_fritz_tools
    for entry_id in await async_extract_config_entry_ids(hass, service_call):
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 397, in async_extract_config_entry_ids
    referenced = async_extract_referenced_entity_ids(hass, service_call, expand_group)
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 340, in async_extract_referenced_entity_ids
    entity_ids = hass.components.group.expand_entity_ids(entity_ids)
  File "/usr/src/homeassistant/homeassistant/components/group/__init__.py", line 148, in expand_entity_ids
    domain, _ = ha.split_entity_id(entity_id)
ValueError: not enough values to unpack (expected 2, got 1)
2021-11-05 21:04:19 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547579782912] Error handling message: Unknown error
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response
    await func(hass, connection, msg)
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 523, in handle_execute_script
    await script_obj.async_run(msg.get("variables"), context=context)
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1243, in async_run
    await asyncio.shield(run.async_run())
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 353, in async_run
    await self._async_step(log_exceptions=False)
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 371, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 571, in _async_call_service_step
    await service_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 1495, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1530, in _execute_service
    await handler.job.target(service_call)
  File "/usr/src/homeassistant/homeassistant/components/fritz/services.py", line 34, in async_call_fritz_service
    fritzbox_entry_ids := await _async_get_configured_fritz_tools(
  File "/usr/src/homeassistant/homeassistant/components/fritz/services.py", line 63, in _async_get_configured_fritz_tools
    for entry_id in await async_extract_config_entry_ids(hass, service_call):
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 397, in async_extract_config_entry_ids
    referenced = async_extract_referenced_entity_ids(hass, service_call, expand_group)
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 340, in async_extract_referenced_entity_ids
    entity_ids = hass.components.group.expand_entity_ids(entity_ids)
  File "/usr/src/homeassistant/homeassistant/components/group/__init__.py", line 148, in expand_entity_ids
    domain, _ = ha.split_entity_id(entity_id)
ValueError: not enough values to unpack (expected 2, got 1)
2021-11-05 21:05:58 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Error for call_service at pos 1: Service or parameter unknown
2021-11-05 21:05:58 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546624517216] Error handling message: Service or parameter unknown
2021-11-05 21:06:07 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Error for call_service at pos 1: Service or parameter unknown
2021-11-05 21:06:07 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546623668768] Error handling message: Service or parameter unknown
2021-11-05 21:06:42 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Error for call_service at pos 1: Service or parameter unknown
2021-11-05 21:06:42 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546623668768] Error handling message: Service or parameter unknown

Additional information

Deleting Integration and add again did not solve the Problem.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

working for me.