Skip to content

Instantly share code, notes, and snippets.

@kelchm
Created March 19, 2023 16:21
Show Gist options
  • Save kelchm/b0052d2f09df676db32fec79f7edf6bc to your computer and use it in GitHub Desktop.
Save kelchm/b0052d2f09df676db32fec79f7edf6bc to your computer and use it in GitHub Desktop.
async_multicast_set_value validation
2023-03-19 12:20:20.236 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Unexpected error for call_service at pos 1: Node Node(node_id=55) doesn't have value 55-38-0-targetValue
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 451, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 684, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1808, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1845, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/components/zwave_js/services.py", line 607, in async_multicast_set_value
success = await async_multicast_set_value(
File "/usr/local/lib/python3.10/site-packages/zwave_js_server/util/multicast.py", line 51, in async_multicast_set_value
raise NotFoundError(f"Node {node} doesn't have value {value_id}")
zwave_js_server.exceptions.NotFoundError: Node Node(node_id=55) doesn't have value 55-38-0-targetValue
2023-03-19 12:20:20.243 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140714329148720] Error handling message: Unknown error (unknown_error) Matthew Kelch from fe80::14ba:3d56:57e:ffb2 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Safari/605.1.15)
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 647, in handle_execute_script
await script_obj.async_run(msg.get("variables"), context=context)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1524, in async_run
await asyncio.shield(run.async_run())
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 409, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 453, in _async_step
self._handle_exception(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 476, in _handle_exception
raise exception
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 451, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 684, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1808, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1845, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/components/zwave_js/services.py", line 607, in async_multicast_set_value
success = await async_multicast_set_value(
File "/usr/local/lib/python3.10/site-packages/zwave_js_server/util/multicast.py", line 51, in async_multicast_set_value
raise NotFoundError(f"Node {node} doesn't have value {value_id}")
zwave_js_server.exceptions.NotFoundError: Node Node(node_id=55) doesn't have value 55-38-0-targetValue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment