My log file was getting too big, so I just disabled debugging and performed an HA restart. After the restart, I checked the log again and saw the following:
2020-05-07 13:38:26 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback SerialTransport._read_ready()
Traceback (most recent call last):
File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.7/site-packages/serial_asyncio/__init__.py", line 106, in _read_ready
self._protocol.data_received(data)
File "/config/custom_components/visonic/pyvisonic.py", line 1521, in data_received
self.handle_received_byte(databyte)
File "/config/custom_components/visonic/pyvisonic.py", line 1578, in handle_received_byte
self.processReceivedMessage(ackneeded = self.pmCurrentPDU.ackneeded, data = self.ReceiveData)
File "/config/custom_components/visonic/pyvisonic.py", line 1661, in processReceivedMessage
self.packet_callback(data)
File "/config/custom_components/visonic/pyvisonic.py", line 2617, in handle_packet
self.handle_msgtypeB0(packet[2:-2])
File "/config/custom_components/visonic/pyvisonic.py", line 3447, in handle_msgtypeB0
if BZero_Enable and msgType == 0x03 and subType == 0x04:
NameError: name 'BZero_Enable' is not defined
2020-05-07 13:38:27 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback SerialTransport._read_ready()
Traceback (most recent call last):
File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.7/site-packages/serial_asyncio/__init__.py", line 106, in _read_ready
self._protocol.data_received(data)
File "/config/custom_components/visonic/pyvisonic.py", line 1521, in data_received
self.handle_received_byte(databyte)
File "/config/custom_components/visonic/pyvisonic.py", line 1578, in handle_received_byte
self.processReceivedMessage(ackneeded = self.pmCurrentPDU.ackneeded, data = self.ReceiveData)
File "/config/custom_components/visonic/pyvisonic.py", line 1661, in processReceivedMessage
self.packet_callback(data)
File "/config/custom_components/visonic/pyvisonic.py", line 2617, in handle_packet
self.handle_msgtypeB0(packet[2:-2])
File "/config/custom_components/visonic/pyvisonic.py", line 3447, in handle_msgtypeB0
if BZero_Enable and msgType == 0x03 and subType == 0x04:
NameError: name 'BZero_Enable' is not defined
2020-05-07 13:38:27 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Alarm Panel for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 216, in async_setup
hass, self
File "/usr/src/homeassistant/homeassistant/components/binary_sensor/__init__.py", line 137, in async_setup_entry
return await hass.data[DOMAIN].async_setup_entry(entry)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 163, in async_setup_entry
raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup!
2020-05-07 13:38:27 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Alarm Panel for switch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 216, in async_setup
hass, self
File "/usr/src/homeassistant/homeassistant/components/switch/__init__.py", line 73, in async_setup_entry
return await hass.data[DOMAIN].async_setup_entry(entry)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 163, in async_setup_entry
raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup!
2020-05-07 13:38:27 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback SerialTransport._read_ready()
Traceback (most recent call last):
File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.7/site-packages/serial_asyncio/__init__.py", line 106, in _read_ready
self._protocol.data_received(data)
File "/config/custom_components/visonic/pyvisonic.py", line 1521, in data_received
self.handle_received_byte(databyte)
File "/config/custom_components/visonic/pyvisonic.py", line 1578, in handle_received_byte
self.processReceivedMessage(ackneeded = self.pmCurrentPDU.ackneeded, data = self.ReceiveData)
File "/config/custom_components/visonic/pyvisonic.py", line 1661, in processReceivedMessage
self.packet_callback(data)
File "/config/custom_components/visonic/pyvisonic.py", line 2617, in handle_packet
self.handle_msgtypeB0(packet[2:-2])
File "/config/custom_components/visonic/pyvisonic.py", line 3447, in handle_msgtypeB0
if BZero_Enable and msgType == 0x03 and subType == 0x04:
NameError: name 'BZero_Enable' is not defined
Otherwise, the integration seems to be working OK.