Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/config_entries.py", line 217, in async_setup

hass, self


 "/usr/src/homeassistant/homeassistant/components/onvif/__init__.py", line 83, in async_setup_entry

if device.capabilities.events and await device.events.async_start():


 "/usr/src/homeassistant/homeassistant/components/onvif/event.py", line 83, in async_start

await self.async_parse_messages(response.NotificationMessage)


 "/usr/src/homeassistant/homeassistant/components/onvif/event.py", line 147, in async_parse_messages

topic = msg.Topic._value_1
AttributeError: 'NoneType' object has no attribute '_value_1

Traceback (most recent call last):


 "client.py", line 45, in <module>

run_sync_client()


 "client.py", line 39, in run_sync_client

print(rr.registers)
AttributeError: 'ModbusIOException' object has no attribute 'registers'
