core: [homeassistant.components.zwave_js] Unexpected exception: 'protocolDataRate'

The problem

Hi,

after upgrade HA to 2023.11.3, i have an error with zwave js integration. I’m using docker zwavejs2mqtt 9.6.2 version

zwave-js-ui: 9.6.2.6e369a1
zwave-js: 12.4.1

The log printing this error

2024-01-14 15:17:03.582 ERROR (MainThread) [homeassistant.components.zwave_js] Unexpected exception: 'protocolDataRate'
Traceback (most recent call last):
  File "/srv/homeassistant_3.11/lib/python3.11/site-packages/homeassistant/components/zwave_js/__init__.py", line 888, in client_listen
    await client.listen(driver_ready)
  File "/srv/homeassistant_3.11/lib/python3.11/site-packages/zwave_js_server/client.py", line 269, in listen
    await self._loop.run_in_executor(
  File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/homeassistant_3.11/lib/python3.11/site-packages/zwave_js_server/model/driver.py", line 70, in __init__
    self.controller = Controller(client, state)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/homeassistant_3.11/lib/python3.11/site-packages/zwave_js_server/model/controller/__init__.py", line 83, in __init__
    node = Node(client, node_state)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/homeassistant_3.11/lib/python3.11/site-packages/zwave_js_server/model/node/__init__.py", line 113, in __init__
    self._statistics = NodeStatistics(
                       ^^^^^^^^^^^^^^^
  File "<string>", line 5, in __init__
  File "/srv/homeassistant_3.11/lib/python3.11/site-packages/zwave_js_server/model/node/statistics.py", line 62, in __post_init__
    self.lwr = RouteStatistics(self.client, lwr)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<string>", line 5, in __init__
  File "/srv/homeassistant_3.11/lib/python3.11/site-packages/zwave_js_server/model/statistics.py", line 47, in __post_init__
    self.protocol_data_rate = ProtocolDataRate(self.data["protocolDataRate"])
                                               ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
KeyError: 'protocolDataRate'

What version of Home Assistant Core has the issue?

core-2023.11.3

What was the last working version of Home Assistant Core?

core-2023.9.X

What type of installation are you running?

Home Assistant Core

Integration causing the issue

zwave-js

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

About this issue

  • Original URL
  • State: open
  • Created 6 months ago
  • Comments: 21 (20 by maintainers)

Most upvoted comments