I got this error what to do? TypeError: argument of type 'NoneType' is not iterable


Logger: homeassistant.core
First occured: 13:18:51 (1 occurences)
Last logged: 13:18:51

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 177, in _async_callback_delayed_write
    await self._async_handle_write_data()
  File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 189, in _async_handle_write_data
    if "data_func" in data:
TypeError: argument of type 'NoneType' is not iterable

There is not enough information there. You will need to describe what problem you are having and post more of the log.

Here is my log.
Hassio restarts ones in a while.It disconnect and starts again

Updating device list from legacy took longer than the scheduled scan interval 0:00:10
13:42:03 – Apparaat tracker (WARNING) - bericht kwam voor het eerst om 13:37:17 en verschijnt 14 malen
Platform squeezebox not ready yet. Retrying in 150 seconds.
13:41:54 – Mediaspeler (WARNING)
Could not communicate with http://192.168.1.15:9000: [Errno -2] Name does not resolve
13:41:54 – squeezebox (ERROR) - bericht kwam voor het eerst om 13:36:50 en verschijnt 5 malen
Config entry for mqtt not ready yet. Retrying in 80 seconds.
13:41:03 – config_entries.py (WARNING) - bericht kwam voor het eerst om 13:38:19 en verschijnt 3 malen
Failed to connect due to exception: [Errno -2] Name does not resolve
13:41:03 – mqtt (ERROR) - bericht kwam voor het eerst om 13:36:49 en verschijnt 7 malen
Platform squeezebox not ready yet. Retrying in 120 seconds.
13:39:53 – Mediaspeler (WARNING)
Platform squeezebox not ready yet. Retrying in 90 seconds.
13:38:22 – Mediaspeler (WARNING)
Config entry for mqtt not ready yet. Retrying in 40 seconds.
13:37:38 – config_entries.py (WARNING)
Platform squeezebox not ready yet. Retrying in 60 seconds.
13:37:21 – Mediaspeler (WARNING)
Config entry for mqtt not ready yet. Retrying in 20 seconds.
13:37:17 – config_entries.py (WARNING)
Config entry for mqtt not ready yet. Retrying in 10 seconds.
13:37:06 – config_entries.py (WARNING)
Error handling when_setup callback for mqtt
13:36:58 – components/mqtt/__init__.py (ERROR)
Error doing job: Task exception was never retrieved
13:36:57 – helpers/entity_platform.py (ERROR) - bericht kwam voor het eerst om 13:36:52 en verschijnt 3 malen
Overwriting integration hacs
13:36:56 – frontend (WARNING)
Error doing job: Task exception was never retrieved
13:36:50 – components/mqtt/__init__.py (ERROR)
You are using a custom integration for combined which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
13:36:50 – loader.py (WARNING)
Error while setting up kodi platform for media_player
13:36:50 – Mediaspeler (ERROR)
Platform squeezebox not ready yet. Retrying in 30 seconds.
13:36:50 – Mediaspeler (WARNING)
Config entry for mqtt not ready yet. Retrying in 5 seconds.
13:36:49 – config_entries.py (WARNING)
You are using a custom integration for darksky_m which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
13:36:48 – loader.py (WARNING)