Howdy all…hate to say it, but I’ve got the same error that came about under different circumstances. What I did was a factory reset on a thermostat…end of the world ensues.
I have follwed the directions under https://www.home-assistant.io/docs/z-wave/adding/ for “Remove Failed Node”, but every time I set the thermostat to is_failed: true then the Node: Undefined Undefined issue happens and I am unable to remove the node marked as failed because it has no node_id.
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 134, in handle_call_service
connection.context(msg),
File "/usr/src/homeassistant/homeassistant/core.py", line 1204, in async_call
processed_data = handler.schema(service_data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: required key not provided @ data['node_id']
I even found some suggestions to Refresh the USB stick node, tried that and the error message got even less helpful:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 134, in handle_call_service
connection.context(msg),
File "/usr/src/homeassistant/homeassistant/core.py", line 1226, in async_call
await asyncio.shield(self._execute_service(handler, service_call))
File "/usr/src/homeassistant/homeassistant/core.py", line 1253, in _execute_service
await self._hass.async_add_executor_job(handler.func, service_call)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/zwave/__init__.py", line 808, in refresh_node
node = network.nodes[node_id]
KeyError: 1
I’m all ears if anyone has a fix for this. I’d really like to get this thermostat off my node list so I can put the right one in :).