Fix an error in log

Get the following error in log. Looks like HA is trying to get some battery stats from a z-wave device and fails. That’s normal as i have only z-wave dimmers (qubino and fibaro) installed. Only AEON Gen5 stick might have a battery but…
Running

cat zwcfg_0xedxxxxdb.xml | grep battery

Returns zero results. OZW log also as far as i can tell doesn’t return any errors

homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
result = next(coro)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 335, in _async_process_entity
new_entity, self, update_before_add=update_before_add
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 204, in async_add_entity
yield from entity.async_update_ha_state()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 229, in async_update_ha_state
device_attr = self.device_state_attributes
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/zwave/__init__.py", line 606, in device_state_attributes
battery_level = self._value.node.get_battery_level()
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/openzwave-0.3.1-py3.4.egg/openzwave/command.py", line 284, in get_battery_level
for val in self.get_battery_levels():
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/openzwave-0.3.1-py3.4.egg/openzwave/command.py", line 306, in get_battery_levels
type='Byte', readonly=True, writeonly=False)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/openzwave-0.3.1-py3.4.egg/openzwave/node.py", line 440, in get_values
for value in self.values:
RuntimeError: dictionary changed size during iteration

It’s been brought up as an issue but it’s actually a problem in OZW code and therefore not something they can fix.

And it doesn’t affect anything as the battery levels get picked up later in the start up sequence.

Here’s the relevant issue in Github: