Tablet gets disconnected from Hadash after a while

I’ve had this issue since i updated homeassistant, i dont remember exactly which version broke it sadly. Havent looked closer on it until now. I have a tablet that displays the HAdash and it stays on all the time.
I can see in the logs “Dashboard connected” when i load the site. Then about 8 hours later or more it gets disconnected. This is with debug logging:

2019-09-28 16:17:22.211947 DEBUG AppDaemon: Scheduler loop compute time: 1.0ms
2019-09-28 16:17:23.093642 DEBUG AppDaemon: Util loop compute time: 2.0ms
2019-09-28 16:17:23.210580 DEBUG AppDaemon: Scheduler loop compute time: 1.0ms
2019-09-28 16:17:23.986693 INFO HADashboard: Dashboard disconnected
2019-09-28 16:17:24.098235 DEBUG AppDaemon: Util loop compute time: 2.0ms
2019-09-28 16:17:24.210441 DEBUG AppDaemon: Scheduler loop compute time: 1.0ms
2019-09-28 16:17:25.106096 DEBUG AppDaemon: Util loop compute time: 2.0ms
2019-09-28 16:17:25.210018 DEBUG AppDaemon: Scheduler loop compute time: 1.0ms
2019-09-28 16:17:26.030225 DEBUG AppDaemon: Event type:state_changed:
2019-09-28 16:17:26.100398 DEBUG AppDaemon: {‘entity_id’: ‘sun.sun’, ‘old_state’: {‘entity_id’: ‘sun.sun’, ‘state’: ‘above_horizon’, ‘attributes’: {‘next_dawn’: ‘2019-09-29T04:14:18+00:00’, ‘next_dusk’: ‘2019-09-28T17:17:29+00:00’, ‘next_midnight’: ‘2019-09-28T22:44:24+00:00’, ‘next_noon’: ‘2019-09-29T10:44:32+00:00’, ‘next_rising’: ‘2019-09-29T04:51:55+00:00’, ‘next_setting’: ‘2019-09-28T16:39:52+00:00’, ‘elevation’: 17.71, ‘azimuth’: 235.99, ‘rising’: False, ‘friendly_name’: ‘Solen’, ‘homebridge_hidden’: True}, ‘last_changed’: ‘2019-09-28T04:49:53.015508+00:00’, ‘last_updated’: ‘2019-09-28T14:13:25.005387+00:00’, ‘context’: {‘id’: ‘df2f7e52c31b4c99a3fbbabd0125e905’, ‘parent_id’: None, ‘user_id’: None}}, ‘new_state’: {‘entity_id’: ‘sun.sun’, ‘state’: ‘above_horizon’, ‘attributes’: {‘next_dawn’: ‘2019-09-29T04:14:18+00:00’, ‘next_dusk’: ‘2019-09-28T17:17:29+00:00’, ‘next_midnight’: ‘2019-09-28T22:44:24+00:00’, ‘next_noon’: ‘2019-09-29T10:44:32+00:00’, ‘next_rising’: ‘2019-09-29T04:51:55+00:00’, ‘next_setting’: ‘2019-09-28T16:39:52+00:00’, ‘elevation’: 17.25, ‘azimuth’: 236.92, ‘rising’: False, ‘friendly_name’: ‘Solen’, ‘homebridge_hidden’: True}, ‘last_changed’: ‘2019-09-28T04:49:53.015508+00:00’, ‘last_updated’: ‘2019-09-28T14:17:26.005780+00:00’, ‘context’: {‘id’: ‘b075a86d381f44e7895f83f173561bd8’, ‘parent_id’: None, ‘user_id’: None}}}
2019-09-28 16:17:26.101306 DEBUG AppDaemon: {‘entity_id’: ‘sun.sun’, ‘old_state’: {‘entity_id’: ‘sun.sun’, ‘state’: ‘above_horizon’, ‘attributes’: {‘next_dawn’: ‘2019-09-29T04:14:18+00:00’, ‘next_dusk’: ‘2019-09-28T17:17:29+00:00’, ‘next_midnight’: ‘2019-09-28T22:44:24+00:00’, ‘next_noon’: ‘2019-09-29T10:44:32+00:00’, ‘next_rising’: ‘2019-09-29T04:51:55+00:00’, ‘next_setting’: ‘2019-09-28T16:39:52+00:00’, ‘elevation’: 17.71, ‘azimuth’: 235.99, ‘rising’: False, ‘friendly_name’: ‘Solen’, ‘homebridge_hidden’: True}, ‘last_changed’: ‘2019-09-28T04:49:53.015508+00:00’, ‘last_updated’: ‘2019-09-28T14:13:25.005387+00:00’, ‘context’: {‘id’: ‘df2f7e52c31b4c99a3fbbabd0125e905’, ‘parent_id’: None, ‘user_id’: None}}, ‘new_state’: {‘entity_id’: ‘sun.sun’, ‘state’: ‘above_horizon’, ‘attributes’: {‘next_dawn’: ‘2019-09-29T04:14:18+00:00’, ‘next_dusk’: ‘2019-09-28T17:17:29+00:00’, ‘next_midnight’: ‘2019-09-28T22:44:24+00:00’, ‘next_noon’: ‘2019-09-29T10:44:32+00:00’, ‘next_rising’: ‘2019-09-29T04:51:55+00:00’, ‘next_setting’: ‘2019-09-28T16:39:52+00:00’, ‘elevation’: 17.25, ‘azimuth’: 236.92, ‘rising’: False, ‘friendly_name’: ‘Solen’, ‘homebridge_hidden’: True}, ‘last_changed’: ‘2019-09-28T04:49:53.015508+00:00’, ‘last_updated’: ‘2019-09-28T14:17:26.005780+00:00’, ‘context’: {‘id’: ‘b075a86d381f44e7895f83f173561bd8’, ‘parent_id’: None, ‘user_id’: None}}}
2019-09-28 16:17:26.110030 DEBUG AppDaemon: Util loop compute time: 2.0ms
2019-09-28 16:17:26.211075 DEBUG AppDaemon: Scheduler loop compute time: 1.0ms
2019-09-28 16:17:27.114797 DEBUG AppDaemon: Util loop compute time: 2.0ms
2019-09-28 16:17:27.210839 DEBUG AppDaemon: Scheduler loop compute time: 1.0ms
2019-09-28 16:17:28.119528 DEBUG AppDaemon: Util loop compute time: 2.0ms

I cant see anything related in the homeassistant log. I have no idea what can cause this, anyone with any ideas?

Im on hassio 0.99.2. and Appdaemon 4.1.0 .

Thanks