Traceback (most recent call last):


 "/var/opt/homeassistant/havenv/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 279, in async_update_ha_state

await self.async_device_update()


 "/var/opt/homeassistant/havenv/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 474, in async_device_update

await self.async_update()


 "/var/opt/homeassistant/havenv/lib/python3.7/site-packages/homeassistant/components/modbus/sensor.py", line 230, in async_update

self._slave, self._register, self._count


 "/var/opt/homeassistant/havenv/lib/python3.7/site-packages/homeassistant/components/modbus/__init__.py", line 290, in read_holding_registers

unit, address, count, self._client.protocol.read_holding_registers


 "/var/opt/homeassistant/havenv/lib/python3.7/site-packages/homeassistant/components/modbus/__init__.py", line 244, in _read

result = await func(address, count, **kwargs)


 "/var/opt/homeassistant/havenv/lib/python3.7/site-packages/pymodbus/client/common.py", line 114, in read_holding_registers

return self.execute(request)


 "/var/opt/homeassistant/havenv/lib/python3.7/site-packages/pymodbus/client/asynchronous/asyncio/__init__.py", line 129, in execute

self.write_transport(packet)


 "/var/opt/homeassistant/havenv/lib/python3.7/site-packages/pymodbus/client/asynchronous/asyncio/__init__.py", line 119, in write_transport

return self.transport.write(packet)
AttributeError: 'NoneType' object has no attribute 'write'

Traceback (most recent call last):


 "/Users/jim/Library/Python/3.6/lib/python/site-packages/keyring/backend.py", line 198, in _load_plugins

init_func = ep.load()


 "/Users/jim/Library/Python/3.6/lib/python/site-packages/importlib_metadata/api.py", line 67, in load

attrs = filter(None, match.group('attr').split('.'))
AttributeError: 'NoneType' object has no attribute 'split'
