Lot of core errors (HAOS) since HACS update, not sure how to fix them

I only updated HACS and also added some frontend integrations, but since I have a lot of error, some platform like Nissan Leaf also stopped working some platform stop working since I stop using 433 but 8433 instead, going back lot 433 fix some issue

2021-05-01 13:40:34 WARNING (MainThread) [homeassistant.loader] You are using a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2021-05-01 13:40:34 WARNING (MainThread) [homeassistant.loader] You are using a custom integration samsungtv_smart which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2021-05-01 13:40:34 WARNING (MainThread) [homeassistant.loader] You are using a custom integration alexa_media which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2021-05-01 13:40:34 WARNING (MainThread) [homeassistant.loader] You are using a custom integration unifiprotect which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2021-05-01 13:40:34 WARNING (MainThread) [homeassistant.loader] You are using a custom integration meteoalarmeu which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2021-05-01 13:40:34 WARNING (MainThread) [homeassistant.loader] You are using a custom integration automower which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2021-05-01 13:40:43 WARNING (MainThread) [homeassistant.loader] You are using a custom integration average which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2021-05-01 13:40:49 WARNING (MainThread) [alexapy.alexalogin] No access token found; falling back to credential login instead of oauth.

2021-05-01 13:40:50 WARNING (MainThread) [homeassistant.components.hue] (‘Please check for software updates of the bridge in the Philips Hue App.’, ‘Signify Hue’, ‘hue_hub_firmware’)

2021-05-01 13:40:51 WARNING (MainThread) [homeassistant.components.light] Platform netatmo not ready yet. Retrying in 30 seconds.

2021-05-01 13:40:53 WARNING (MainThread) [homeassistant.setup] Setup of nissan_leaf is taking over 10 seconds.

2021-05-01 13:41:02 ERROR (SyncWorker_0) [pycarwings2.pycarwings2] carwings error INVALID PARAMS: -2010

2021-05-01 13:41:02 ERROR (SyncWorker_0) [homeassistant.components.nissan_leaf] An unknown error occurred while connecting to Nissan: <class ‘pycarwings2.pycarwings2.CarwingsError’>

2021-05-01 13:41:02 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template(“{{ state_attr(‘sensor.ps4_today’) }}”)

Traceback (most recent call last):

File “/usr/src/homeassistant/homeassistant/helpers/template.py”, line 368, in async_render

render_result = compiled.render(kwargs)

File “/usr/local/lib/python3.8/site-packages/jinja2/environment.py”, line 1090, in render

self.environment.handle_exception()

File “/usr/local/lib/python3.8/site-packages/jinja2/environment.py”, line 832, in handle_exception

reraise(*rewrite_traceback_stack(source=source))

File “/usr/local/lib/python3.8/site-packages/jinja2/_compat.py”, line 28, in reraise

raise value.with_traceback(tb)

File “”, line 1, in top-level template code

File “/usr/local/lib/python3.8/site-packages/jinja2/sandbox.py”, line 462, in call

return __context.call(__obj, *args, **kwargs)

File “/usr/src/homeassistant/homeassistant/helpers/template.py”, line 1391, in wrapper

return func(hass, *args[1:], **kwargs)

TypeError: state_attr() missing 1 required positional argument: ‘name’

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File “/usr/src/homeassistant/homeassistant/helpers/template.py”, line 477, in async_render_to_info

render_info._result = self.async_render(variables, **kwargs)

File “/usr/src/homeassistant/homeassistant/helpers/template.py”, line 370, in async_render

raise TemplateError(err) from err

homeassistant.exceptions.TemplateError: TypeError: state_attr() missing 1 required positional argument: ‘name’

2021-05-01 13:41:03 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError(‘TypeError: state_attr() missing 1 required positional argument: ‘name’’) while processing template ‘Template(“{{ state_attr(‘sensor.ps4_today’) }}”)’ for attribute ‘_state’ in entity ‘sensor.ps4_today_time’

2021-05-01 13:41:03 ERROR (MainThread) [homeassistant.components.netatmo] Error during webhook registration - 400 - Bad request - Allowed ports for webhooks are 80, 88, 443 and 9443. (21) when accessing ‘https://api.netatmo.com/api/addwebhook

2021-05-01 13:41:17 ERROR (MainThread) [homeassistant.components.hue.light] Timeout fetching light data

2021-05-01 13:41:17 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:41:17 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:41:17 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:62 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('dialog-button negative ‘)[0].click’)

2021-05-01 13:41:17 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:41:17 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:41:17 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:62 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('dialog-button negative ‘)[0].click’)

2021-05-01 13:41:18 ERROR (MainThread) [homeassistant.components.hue.sensor_base] Timeout fetching sensor data

2021-05-01 13:41:22 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.smarttv_4k is taking over 10 seconds

2021-05-01 13:41:23 WARNING (MainThread) [homeassistant.components.media_player] Updating samsungtv_smart media_player took longer than the scheduled update interval 0:00:15

2021-05-01 13:41:27 WARNING (MainThread) [homeassistant.components.ps4.media_player] PS4 could not be reached

2021-05-01 13:41:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.udm_pro is taking over 10 seconds

2021-05-01 13:43:12 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/developer-tools/state:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:43:12 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:43:12 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/developer-tools/state:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:43:12 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:43:12 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/developer-tools/state:1:62 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('dialog-button negative ‘)[0].click’)

2021-05-01 13:43:12 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:62 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('dialog-button negative ‘)[0].click’)

2021-05-01 13:44:13 ERROR (MainThread) [homeassistant.components.hue.light] Timeout fetching light data

2021-05-01 13:44:13 ERROR (MainThread) [homeassistant.components.hue.sensor_base] Timeout fetching sensor data

2021-05-01 13:44:24 ERROR (MainThread) [aiohttp.server] Error handling request

Traceback (most recent call last):

File “/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py”, line 422, in _handle_request

resp = await self._request_handler(request)

File “/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py”, line 499, in _handle

resp = await handler(request)

File “/usr/local/lib/python3.8/site-packages/aiohttp/web_middlewares.py”, line 119, in impl

return await handler(request)

File “/usr/src/homeassistant/homeassistant/components/http/security_filter.py”, line 56, in security_filter_middleware

return await handler(request)

File “/usr/src/homeassistant/homeassistant/components/http/forwarded.py”, line 172, in forwarded_middleware

return await handler(request)

File “/usr/src/homeassistant/homeassistant/components/http/request_context.py”, line 18, in request_context_middleware

return await handler(request)

File “/usr/src/homeassistant/homeassistant/components/http/ban.py”, line 72, in ban_middleware

return await handler(request)

File “/usr/src/homeassistant/homeassistant/components/http/auth.py”, line 129, in auth_middleware

return await handler(request)

File “/usr/src/homeassistant/homeassistant/components/http/view.py”, line 129, in handle

result = await result

File “/usr/src/homeassistant/homeassistant/components/websocket_api/http.py”, line 42, in get

return await WebSocketHandler(request.app[“hass”], request).async_handle()

File “/usr/src/homeassistant/homeassistant/components/websocket_api/http.py”, line 233, in async_handle

await self._writer_task

File “/usr/src/homeassistant/homeassistant/components/websocket_api/http.py”, line 81, in _writer

await self.wsock.send_str(message)

File “/usr/local/lib/python3.8/site-packages/aiohttp/web_ws.py”, line 300, in send_str

await self._writer.send(data, binary=False, compress=compress)

File “/usr/local/lib/python3.8/site-packages/aiohttp/http_websocket.py”, line 687, in send

await self._send_frame(message, WSMsgType.TEXT, compress)

File “/usr/local/lib/python3.8/site-packages/aiohttp/http_websocket.py”, line 656, in _send_frame

await self.protocol._drain_helper()

File “/usr/local/lib/python3.8/site-packages/aiohttp/base_protocol.py”, line 87, in _drain_helper

await waiter

File “/usr/local/lib/python3.8/asyncio/selector_events.py”, line 935, in _write_ready

n = self._sock.send(self._buffer)

BrokenPipeError: [Errno 32] Broken pipe

2021-05-01 13:45:16 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/core_configurator/dashboard:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:45:16 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:45:16 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/core_configurator/dashboard:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:45:16 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:45:16 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/core_configurator/dashboard:1:62 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('dialog-button negative ‘)[0].click’)

2021-05-01 13:45:16 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:62 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('dialog-button negative ‘)[0].click’)

2021-05-01 13:45:44 WARNING (MainThread) [homeassistant.loader] You are using a custom integration nodered which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2021-05-01 13:47:20 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/lovelace/derry:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:47:20 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/core_configurator/dashboard:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:47:20 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:47:20 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/lovelace/derry:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:47:20 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/core_configurator/dashboard:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:47:21 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/lovelace/derry:1:62 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('dialog-button negative ‘)[0].click’)

2021-05-01 13:47:21 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:47:21 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/core_configurator/dashboard:1:62 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('dialog-button negative ‘)[0].click’)

2021-05-01 13:47:21 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:62 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('dialog-button negative ‘)[0].click’)

2021-05-01 13:48:51 ERROR (MainThread) [homeassistant.components.hue.sensor_base] Timeout fetching sensor data

2021-05-01 13:49:10 ERROR (SyncWorker_21) [homeassistant.components.recorder.util] Error executing query: (sqlite3.OperationalError) database is locked

[SQL: SELECT states.domain AS states_domain, states.entity_id AS states_entity_id, states.state AS states_state, states.attributes AS states_attributes, states.last_changed AS states_last_changed, states.last_updated AS states_last_updated

FROM states

WHERE states.last_changed = states.last_updated AND states.last_updated > ? AND states.last_updated < ? AND states.entity_id = ? ORDER BY states.entity_id, states.last_updated]

[parameters: (‘2021-04-30 23:00:00.465597’, ‘2021-05-01 12:48:52.466573’, ‘light.our_bathroom’)]

(Background on this error at: Error Messages — SQLAlchemy 1.3 Documentation)

2021-05-01 13:49:10 ERROR (SyncWorker_14) [homeassistant.components.command_line] Timeout for command: nc -z -w 5 192.168.3.30 9295

2021-05-01 13:49:10 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.our_bathroom is taking over 10 seconds

2021-05-01 13:49:25 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/hassio/system:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:49:25 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:49:25 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/hassio/system:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:49:25 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:49:25 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/hassio/system:1:62 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('dialog-button negative ‘)[0].click’)

2021-05-01 13:49:25 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:62 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('dialog-button negative ‘)[0].click’)

2021-05-01 13:51:29 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/logs:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:51:29 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:51:29 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/logs:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:51:29 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:72 TypeError: undefined is not an object (evaluating ‘document.getElementsByClassName(‘action-button more-actions-button’)[0].click’)

2021-05-01 13:51:29 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/logs:1:62 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('dialog-button negative ‘)[0].click’)

2021-05-01 13:51:29 ERROR (MainThread) [frontend.js.latest.202103026] https://##EDITED##:2087/config/server_control:1:62 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('dialog-button negative ‘)[0].click’)

2021-05-01 13:53:05 ERROR (MainThread) [homeassistant.components.hue.light] Timeout fetching light data

2021-05-01 13:53:05 ERROR (MainThread) [homeassistant.components.hue.sensor_base] Timeout fetching sensor data

2021-05-01 13:53:16 WARNING (MainThread) [homeassistant.components.switch] Updating adguard switch took longer than the scheduled update interval 0:00:10

Did you ever “fix” those errors?
Did you run HA on a SD card?
Did you swap hardware meanwhile, moved database, …?