Home Assistant 0.75.1 Rebooting every 3 minutes

Ever since upgrading to Home Assistant 0.75.1 (HassOS 1.9, Supervisor 123), home assistant is restarting on its own every 3 minutes. How can I find out the cause and fix it? Because it auto restarts, I can see the last entries in the log. Here’s what I saw so far:

2018-08-04 21:08:55 WARNING (MainThread) [homeassistant.loader] You are using a custom component for media_player.plex 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.
2018-08-04 21:08:55 WARNING (MainThread) [homeassistant.loader] You are using a custom component for sensor.sense 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.
2018-08-04 21:09:03 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template upstairs_bathroom_state, the state is unknown.
2018-08-04 21:09:03 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template downstairs_bathroom_state, the state is unknown.
2018-08-04 21:09:03 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template upstairs_bathroom_state, the state is unknown.
2018-08-04 21:09:04 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template downstairs_bathroom_state, the state is unknown.
2018-08-04 21:09:04 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template downstairs_bathroom_state, the state is unknown.
2018-08-04 21:09:05 ERROR (MainThread) [homeassistant.helpers.condition] Error during template condition: UndefinedError: 'None' has no attribute 'attributes'
2018-08-04 21:09:06 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template upstairs_bathroom_state, the state is unknown.
2018-08-04 21:09:06 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template upstairs_bathroom_state, the state is unknown.
2018-08-04 21:09:08 ERROR (MainThread) [frontend.js.latest.201808040] http://www.jesseweb.com:8123/frontend_latest/app-c65b4028.js:445:294618 TypeError: null is not an object (evaluating 'e._stateDisplay')
2018-08-04 21:09:13 WARNING (SyncWorker_1) [netdisco.ssdp] Found malformed XML at http://172.19.210.70:9080: status=ok
2018-08-04 21:09:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 318, in _async_add_entity
    msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: media_player.shield_android_tv. Platform plex does not generate unique IDs
2018-08-04 21:09:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 318, in _async_add_entity
    msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: media_player.safari_2. Platform plex does not generate unique IDs
2018-08-04 21:09:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 318, in _async_add_entity
    msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: media_player.shield_android_tv. Platform plex does not generate unique IDs
2018-08-04 21:09:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 318, in _async_add_entity
    msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: media_player.safari_2. Platform plex does not generate unique IDs
2018-08-04 21:09:18 WARNING (MainThread) [pyatv.tag_definitions] Unknown data: b'ceQu\x00\x00\x00\x01\x00ceMQ\x00\x00\x00\x01'
2018-08-04 21:09:18 WARNING (MainThread) [pyatv.tag_definitions] Unknown data: b'ceMQ\x00\x00\x00\x01\x00ceNQ\x00\x00\x00\x04'
2018-08-04 21:09:18 WARNING (MainThread) [pyatv.tag_definitions] Unknown data: b'ceNQ\x00\x00\x00\x04\x00\x00\x00\x00cann\x00\x00\x00\n'
2018-08-04 21:09:35 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 64 not ready after 30 seconds, continuing anyway
2018-08-04 21:09:36 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 74 not ready after 30 seconds, continuing anyway
2018-08-04 21:09:36 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave entity Unknown Node 74 Switch (node_id: 74) not ready after 30 seconds, continuing anyway
2018-08-04 21:09:38 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 85 not ready after 30 seconds, continuing anyway
2018-08-04 21:13:40 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.30.32.2
2018-08-04 21:14:04 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave not ready after 300 seconds, continuing anyway
2018-08-04 21:14:36 ERROR (MainThread) [homeassistant.components.websocket_api] WS 140516071687168: Client exceeded max pending messages [2]: 512
2018-08-04 21:16:30 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 318, in _async_add_entity
    msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: media_player.safari_3. Platform plex does not generate unique IDs
2018-08-04 21:16:30 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 318, in _async_add_entity
    msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: media_player.safari_3. Platform plex does not generate unique IDs

Looks like I solved it by adding this:

http:
  trusted_networks:
    - 172.16.0.0/12

Which I believe is related to this issue:
https://github.com/home-assistant/home-assistant/issues/15595