finally i managed to find the problem
when i am adding modbus configuration to configuration.YMAL HA does not working any more,
server will not start
modbus:
name: hub1
type: serial
method: rtu
port: /dev/ttyUSB0
baudrate: 9600
stopbits: 1
bytesize: 8
parity: N
pi@raspberrypi:~ $ sudo journalctl -f -u home-assistant@homeassistant
– Logs begin at Sat 2020-04-11 15:46:11 BST. –
Apr 11 15:46:35 raspberrypi hass[522]: Traceback (most recent call last):
Apr 11 15:46:35 raspberrypi hass[522]: File “/usr/lib/python3.7/concurrent/futures/_base.py”, line 324, in _invoke_callbacks
Apr 11 15:46:35 raspberrypi hass[522]: callback(self)
Apr 11 15:46:35 raspberrypi hass[522]: File “/usr/lib/python3.7/asyncio/futures.py”, line 362, in _call_set_state
Apr 11 15:46:35 raspberrypi hass[522]: dest_loop.call_soon_threadsafe(_set_state, destination, source)
Apr 11 15:46:35 raspberrypi hass[522]: File “/usr/lib/python3.7/asyncio/base_events.py”, line 733, in call_soon_threadsafe
Apr 11 15:46:35 raspberrypi hass[522]: self._check_closed()
Apr 11 15:46:35 raspberrypi hass[522]: File “/usr/lib/python3.7/asyncio/base_events.py”, line 480, in _check_closed
Apr 11 15:46:35 raspberrypi hass[522]: raise RuntimeError(‘Event loop is closed’)
Apr 11 15:46:35 raspberrypi hass[522]: RuntimeError: Event loop is closed