Home Assistant randomly crashes

My Home Assistant instance crashes every now and then. It is running on a raspberry pi 4. When it does crash all addons are still working. It can be fixed by unplugging and plugging back in the raspberry pi.

Thanks

Here are the logs:

2023-12-12 07:05:07.181 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration variable 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
2023-12-12 07:05:07.184 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration extended_openai_conversation 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
2023-12-12 07:05:07.186 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration media_player_template 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
2023-12-12 07:05:07.188 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration frigate 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
2023-12-12 07:05:07.190 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration nest_protect 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
2023-12-12 07:05:07.192 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration qr_generator 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
2023-12-12 07:05:07.195 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration samsungtv_tizen 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
2023-12-12 07:05:07.197 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration browser_mod 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
2023-12-12 07:05:07.199 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration ble_monitor 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
2023-12-12 07:05:07.201 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration energyscore 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
2023-12-12 07:05:07.203 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration ui_lovelace_minimalist 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
2023-12-12 07:05:07.205 WARNING (SyncWorker_2) [homeassistant.loader] We found 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
2023-12-12 07:05:07.207 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration favicon 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
2023-12-12 07:05:07.209 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration pyscript 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
2023-12-12 07:05:07.211 WARNING (SyncWorker_2) [homeassistant.loader] We found 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
2023-12-12 07:05:07.213 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration todoist_shopping_list 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
2023-12-12 07:05:07.215 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration powercalc 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
2023-12-12 07:05:07.218 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration emporia_vue 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
2023-12-12 07:05:07.219 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration webrtc 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
2023-12-12 07:05:07.222 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration better_thermostat 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
2023-12-12 07:05:07.225 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration reolink_discovery 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
2023-12-12 07:05:07.227 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration hildebrandglow_dcc 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
2023-12-12 07:05:07.229 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration shairport_sync 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
2023-12-12 07:05:07.232 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration home_connect_alt 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
2023-12-12 07:05:07.234 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration mass 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
2023-12-12 07:05:07.236 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration yahoofinance 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
2023-12-12 07:05:07.238 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration spotcast 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
2023-12-12 07:05:18.852 ERROR (Recorder) [homeassistant.components.recorder.core] Error during connection setup: (MySQLdb.OperationalError) (2005, "Unknown server host 'core-mariadb' (-5)")
(Background on this error at: https://sqlalche.me/e/20/e3q8) (retrying in 3 seconds)
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 145, in __init__
    self._dbapi_connection = engine.raw_connection()
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 3292, in raw_connection
    return self.pool.connect()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 452, in connect
    return _ConnectionFairy._checkout(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 1269, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 716, in checkout
    rec = pool._do_get()
          ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/impl.py", line 169, in _do_get
    with util.safe_reraise():
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/impl.py", line 167, in _do_get
    return self._create_connection()
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 393, in _create_connection
    return _ConnectionRecord(self)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 678, in __init__
    self.__connect()
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 902, in __connect
    with util.safe_reraise():
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 898, in __connect
    self.dbapi_connection = connection = pool._invoke_creator(self)
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/create.py", line 637, in connect
    return dialect.connect(*cargs, **cparams)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 616, in connect
    return self.loaded_dbapi.connect(*cargs, **cparams)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/MySQLdb/__init__.py", line 121, in Connect
    return Connection(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/MySQLdb/connections.py", line 193, in __init__
    super().__init__(*args, **kwargs2)
MySQLdb.OperationalError: (2005, "Unknown server host 'core-mariadb' (-5)")

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

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/recorder/core.py", line 932, in _setup_recorder
    self._setup_connection()
  File "/usr/src/homeassistant/homeassistant/components/recorder/core.py", line 1406, in _setup_connection
    Base.metadata.create_all(self.engine)
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/sql/schema.py", line 5828, in create_all
    bind._run_ddl_visitor(
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 3242, in _run_ddl_visitor
    with self.begin() as conn:
  File "/usr/local/lib/python3.11/contextlib.py", line 137, in __enter__
    return next(self.gen)
           ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 3232, in begin
    with self.connect() as conn:
         ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 3268, in connect
    return self._connection_cls(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 147, in __init__
    Connection._handle_dbapi_exception_noconnection(
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 2430, in _handle_dbapi_exception_noconnection
    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 145, in __init__
    self._dbapi_connection = engine.raw_connection()
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 3292, in raw_connection
    return self.pool.connect()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 452, in connect
    return _ConnectionFairy._checkout(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 1269, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 716, in checkout
    rec = pool._do_get()
          ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/impl.py", line 169, in _do_get
    with util.safe_reraise():
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/impl.py", line 167, in _do_get
    return self._create_connection()
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 393, in _create_connection
    return _ConnectionRecord(self)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 678, in __init__
    self.__connect()
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 902, in __connect
    with util.safe_reraise():
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 898, in __connect
    self.dbapi_connection = connection = pool._invoke_creator(self)
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/create.py", line 637, in connect
    return dialect.connect(*cargs, **cparams)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 616, in connect
    return self.loaded_dbapi.connect(*cargs, **cparams)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/MySQLdb/__init__.py", line 121, in Connect
    return Connection(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/MySQLdb/connections.py", line 193, in __init__
    super().__init__(*args, **kwargs2)
sqlalchemy.exc.OperationalError: (MySQLdb.OperationalError) (2005, "Unknown server host 'core-mariadb' (-5)")
(Background on this error at: https://sqlalche.me/e/20/e3q8)
2023-12-12 07:05:23.636 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=54 from 2023-12-12 06:57:14.045780)
2023-12-12 07:05:36.448 WARNING (MainThread) [homeassistant.setup] Setup of bluetooth is taking over 10 seconds.
2023-12-12 07:05:38.833 WARNING (MainThread) [homeassistant.components.template.weather] The 'forecast_template' option near /config/configuration.yaml:270 is deprecated, please remove it from your configuration
2023-12-12 07:05:40.475 ERROR (MainThread) [homeassistant.components.automation] Automation with alias 'Occupancy detection away scene' failed to setup triggers and has been disabled: Unknown device '38ad56220a66cccf3689515d4a3d4dac'
2023-12-12 07:05:48.167 ERROR (MainThread) [homeassistant.components.automation] Automation with alias 'Away Scene' failed to setup actions and has been disabled: Unknown device '38ad56220a66cccf3689515d4a3d4dac'
2023-12-12 07:05:49.241 WARNING (MainThread) [homeassistant.setup] Setup of input_number is taking over 10 seconds.
2023-12-12 07:05:49.241 WARNING (MainThread) [homeassistant.setup] Setup of input_text is taking over 10 seconds.
2023-12-12 07:05:49.257 WARNING (MainThread) [homeassistant.setup] Setup of input_button is taking over 10 seconds.
2023-12-12 07:05:49.258 WARNING (MainThread) [homeassistant.setup] Setup of zone is taking over 10 seconds.
2023-12-12 07:06:04.829 WARNING (MainThread) [homeassistant.components.vlc_telnet] Failed to connect to VLC: Failed to connect: [Errno -5] Name has no usable address. Trying again
2023-12-12 07:06:05.804 ERROR (MainThread) [custom_components.ui_lovelace_minimalist.base] HACS Frontend repo "weather-radar-card" is not installed, See Integration Configuration.
2023-12-12 07:06:25.845 ERROR (SyncWorker_10) [homeassistant.components.influxdb] Cannot connect to InfluxDB due to 'HTTPConnectionPool(host='a0d7b954-influxdb', port=8086): Max retries exceeded with url: /write?db=homeassistant (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7a693dd0>: Failed to establish a new connection: [Errno 111] Connection refused'))'. Please check that the provided connection details (host, port, etc.) are correct and that your InfluxDB server is running and accessible. Retrying in 60 seconds.
2023-12-12 07:06:33.735 WARNING (MainThread) [motioneye_client.client] Connection failed to motionEye: Cannot connect to host 127.0.0.1:28765 ssl:default [Connect call failed ('127.0.0.1', 28765)]
2023-12-12 07:06:39.897 ERROR (MainThread) [homeassistant.components.esphome.dashboard] Error requesting ESPHome Dashboard data: Cannot connect to host 127.0.0.1:63725 ssl:default [Connect call failed ('127.0.0.1', 63725)]
2023-12-12 07:06:39.905 ERROR (MainThread) [homeassistant.components.esphome.dashboard] Dashboard unavailable; skipping reauth: Cannot connect to host 127.0.0.1:63725 ssl:default [Connect call failed ('127.0.0.1', 63725)]
2023-12-12 07:06:41.325 WARNING (MainThread) [py.warnings] /config/custom_components/samsungtv_tizen/media_player.py:703: RuntimeWarning: coroutine 'SamsungTVDevice._gen_installed_app_list' was never awaited
  self._gen_installed_app_list()

2023-12-12 07:06:43.860 WARNING (MainThread) [homeassistant.components.mqtt.mixins] Entity category `config` is invalid for sensors, ignoring. This stops working from HA Core 2024.2.0
2023-12-12 07:06:43.875 WARNING (MainThread) [homeassistant.components.mqtt.mixins] Entity category `config` is invalid for sensors, ignoring. This stops working from HA Core 2024.2.0
2023-12-12 07:06:43.953 WARNING (MainThread) [homeassistant.components.mqtt.mixins] Entity category `config` is invalid for sensors, ignoring. This stops working from HA Core 2024.2.0
2023-12-12 07:06:43.974 WARNING (MainThread) [homeassistant.components.mqtt.mixins] Entity category `config` is invalid for sensors, ignoring. This stops working from HA Core 2024.2.0
2023-12-12 07:06:45.494 ERROR (MainThread) [homeassistant.components.sensor] Platform todoist_shopping_list does not generate unique IDs. ID todoist_shopping_list_sync already exists - ignoring sensor.todoist_shopping_list_sync
2023-12-12 07:06:45.820 ERROR (SyncWorker_8) [root] Ical data was modified to avoid compatibility issues
(Your calendar server breaks the icalendar standard)
This is probably harmless, particularly if not editing events or tasks
(error count: 1 - this error is ratelimited)
NoneType: None
2023-12-12 07:06:45.822 ERROR (SyncWorker_8) [root] --- 
+++ 
@@ -5,7 +5,6 @@
 BEGIN:VEVENT
 DTSTAMP:20231212T070645Z
 CREATED:20220315T172728Z
-DTSTAMP:20231205T145453Z
 LAST-MODIFIED:20231205T145328Z
 LOCATION:Winchester Racquets & Fitness\nBereweeke Road\, Winchester\, SO2
  2\, England
2023-12-12 07:06:45.823 ERROR (SyncWorker_8) [root] Ical data was modified to avoid compatibility issues
(Your calendar server breaks the icalendar standard)
This is probably harmless, particularly if not editing events or tasks
(error count: 2 - this error is ratelimited)
NoneType: None
2023-12-12 07:06:45.824 ERROR (SyncWorker_8) [root] --- 
+++ 
@@ -5,7 +5,6 @@
 BEGIN:VEVENT
 DTSTAMP:20231212T070645Z
 CREATED:20230919T163947Z
-DTSTAMP:20231121T195751Z
 LAST-MODIFIED:20231121T195748Z
 LOCATION:Kings' School - Winchester\n54 Woodfield Drive\, Winchester\, SO
  22 5PN\, England
2023-12-12 07:06:46.854 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://ccab4aaf-frigate-fa:5000/api/stats: Cannot connect to host ccab4aaf-frigate-fa:5000 ssl:default [Name has no usable address]
2023-12-12 07:06:48.171 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for anthony-motion-detector @ 192.168.0.34: Error connecting to ('192.168.0.34', 6053): [Errno 113] Connect call failed ('192.168.0.34', 6053) (SocketAPIError)
2023-12-12 07:06:48.205 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for test-led @ 192.168.0.214: Error connecting to ('192.168.0.214', 6053): [Errno 113] Connect call failed ('192.168.0.214', 6053) (SocketAPIError)
2023-12-12 07:06:54.450 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{(((states('sensor.bosch_mba5785s6b_68a40e5fc6ef_140_cooking_oven_status_currentcavitytemperature') | float(0)) / (states('sensor.bosch_mba5785s6b_68a40e5fc6ef_140_cooking_oven_option_setpointtemperature') | float(0))) * 100) | round(0) | float(0)}}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 569, in async_render
    render_result = _render_with_context(self.template, compiled, **kwargs)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2243, in _render_with_context
    return template.render(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 1, in top-level template code
ZeroDivisionError: float division by zero

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 695, in async_render_to_info
    render_info._result = self.async_render(
                          ^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 571, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ZeroDivisionError: float division by zero
2023-12-12 07:06:54.488 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ZeroDivisionError: float division by zero') while processing template 'Template<template=({{(((states('sensor.bosch_mba5785s6b_68a40e5fc6ef_140_cooking_oven_status_currentcavitytemperature') | float(0)) / (states('sensor.bosch_mba5785s6b_68a40e5fc6ef_140_cooking_oven_option_setpointtemperature') | float(0))) * 100) | round(0) | float(0)}}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.oven_bottom_heating_progress'
2023-12-12 07:06:54.497 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states('sensor.outside_th_temperature') | float }}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1926, in forgiving_float_filter
    return float(value)
           ^^^^^^^^^^^^
ValueError: could not convert string to float: 'unknown'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 569, in async_render
    render_result = _render_with_context(self.template, compiled, **kwargs)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2243, in _render_with_context
    return template.render(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 1, in top-level template code
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1929, in forgiving_float_filter
    raise_no_default("float", value)
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1627, in raise_no_default
    raise ValueError(
ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ states('sensor.outside_th_temperature') | float }}' but no default was specified

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 695, in async_render_to_info
    render_info._result = self.async_render(
                          ^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 571, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ states('sensor.outside_th_temperature') | float }}' but no default was specified
2023-12-12 07:06:54.508 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states('sensor.outside_th_humidity') | float }}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1926, in forgiving_float_filter
    return float(value)
           ^^^^^^^^^^^^
ValueError: could not convert string to float: 'unknown'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 569, in async_render
    render_result = _render_with_context(self.template, compiled, **kwargs)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2243, in _render_with_context
    return template.render(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 1, in top-level template code
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1929, in forgiving_float_filter
    raise_no_default("float", value)
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1627, in raise_no_default
    raise ValueError(
ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ states('sensor.outside_th_humidity') | float }}' but no default was specified

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 695, in async_render_to_info
    render_info._result = self.async_render(
                          ^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 571, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ states('sensor.outside_th_humidity') | float }}' but no default was specified
2023-12-12 07:06:54.539 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ states('sensor.outside_th_temperature') | float }}' but no default was specified') while processing template 'Template<template=({{ states('sensor.outside_th_temperature') | float }}) renders=4>' for attribute '_temperature' in entity 'weather.real_weather'
2023-12-12 07:06:54.540 ERROR (MainThread) 

Next part of logs (character limit):

[homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ states('sensor.outside_th_humidity') | float }}' but no default was specified') while processing template 'Template<template=({{ states('sensor.outside_th_humidity') | float }}) renders=4>' for attribute '_humidity' in entity 'weather.real_weather'
2023-12-12 07:06:54.556 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.sunlight_pct (<class 'homeassistant.components.template.sensor.SensorTemplate'>) is using native unit of measurement '%' which is not a valid unit for the device class ('illuminance') it is using; expected one of ['lx']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+template%22
2023-12-12 07:06:55.985 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Oven Timer Notification ' trigger: In 'numeric_state' condition: entity input_number.oven_timer state '' cannot be processed as a number
2023-12-12 07:06:56.051 WARNING (MainThread) [motioneye_client.client] Connection failed to motionEye: Cannot connect to host 127.0.0.1:28765 ssl:default [Connect call failed ('127.0.0.1', 28765)]
2023-12-12 07:06:56.541 ERROR (MainThread) [homeassistant.components.homekit.util] media_player.spotify_andrew_marchant does not support any media_player features
2023-12-12 07:06:56.560 ERROR (MainThread) [homeassistant.components.homekit.util] media_player.xbox does not support any media_player features
2023-12-12 07:06:57.601 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call to sleep inside the event loop by custom integration 'samsungtv_tizen' at custom_components/samsungtv_tizen/websockets.py, line 115: time.sleep(self.key_press_delay), please report it to the author of the 'samsungtv_tizen' custom integration
2023-12-12 07:07:01.242 WARNING (MainThread) [py.warnings] /config/custom_components/samsungtv_tizen/media_player.py:703: RuntimeWarning: coroutine 'SamsungTVDevice._gen_installed_app_list' was never awaited
  self._gen_installed_app_list()

2023-12-12 07:07:02.123 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://ccab4aaf-frigate-fa:5000/api/stats: Cannot connect to host ccab4aaf-frigate-fa:5000 ssl:default [Name has no usable address]
2023-12-12 07:07:35.377 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.kitchen_tv is taking over 10 seconds
2023-12-12 07:07:35.544 WARNING (MainThread) [homeassistant.components.media_player] Updating samsungtv media_player took longer than the scheduled update interval 0:00:10
2023-12-12 07:07:35.559 WARNING (MainThread) [homeassistant.components.media_player] Updating vlc_telnet media_player took longer than the scheduled update interval 0:00:10
2023-12-12 07:07:41.243 WARNING (MainThread) [py.warnings] /config/custom_components/samsungtv_tizen/media_player.py:703: RuntimeWarning: coroutine 'SamsungTVDevice._gen_installed_app_list' was never awaited
  self._gen_installed_app_list()

2023-12-12 07:07:41.327 WARNING (MainThread) [motioneye_client.client] Connection failed to motionEye: Cannot connect to host 127.0.0.1:28765 ssl:default [Connect call failed ('127.0.0.1', 28765)]
2023-12-12 07:07:41.329 ERROR (MainThread) [homeassistant.components.google_assistant.http] Request for https://homegraph.googleapis.com/v1/devices:requestSync failed: 500
2023-12-12 07:07:41.367 ERROR (MainThread) [pyhap.hap_handler] HASS Bridge GZ: Client ('192.168.0.144', 57718) with uuid 2f47577d-f50e-4b3d-a41d-1138e89eb177 attempted pair verify without being paired first (public_key=9717297fb78c3b99b786b3b0f13a4cec257cf8a1529fba028899b19f60e53825, paired clients={UUID('a2395182-2654-4604-9232-19e6ac97eca0'): 'e7a5048988034169d7b884b96d8cfe46b91c61c910d9afe72eb99826ccc81bed'}).
2023-12-12 07:07:46.157 WARNING (MainThread) [homeassistant.components.media_player] Updating samsungtv media_player took longer than the scheduled update interval 0:00:10
2023-12-12 07:07:46.179 ERROR (MainThread) [custom_components.frigate.api] Timeout error fetching information from http://ccab4aaf-frigate-fa:5000/api/stats: 
2023-12-12 07:08:02.210 WARNING (MainThread) [motioneye_client.client] Connection failed to motionEye: Cannot connect to host 127.0.0.1:28765 ssl:default [Connect call failed ('127.0.0.1', 28765)]
2023-12-12 07:08:11.025 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call to sleep inside the event loop by custom integration 'samsungtv_tizen' at custom_components/samsungtv_tizen/websockets.py, line 115: time.sleep(self.key_press_delay), please report it to the author of the 'samsungtv_tizen' custom integration