Hi guys
I have noticed that my HA is restarting randomly, not sure when it started, but it does multiple restarts a day. Always creating huge log files, 10GB+ multiple times a day so I cant even upload the full log.
There is one Error that repeats 193,661,828 times in the last log file.
2024-07-24 11:54:27.749 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback None() (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
TypeError: 'NoneType' object is not callable
type or paste code here
I have tried multiple ways to find the cause like Service profiler.set_asyncio_debug + debugpy: in configuration.yaml + dump_log_object type: RenderIngo. I have been trying to follow all the errors, which were mostly described as not being important. But there are several ones, that I cannot find much about
One critical error is this:
Logger: homeassistant.components.profiler
Source: components/profiler/__init__.py:174
integration: Profiler (documentation, issues)
First occurred: 19:17:47 (163 occurrences)
Last logged: 19:17:47
RenderInfo object in memory: <RenderInfo Template<template=({{ (states('sensor.load_l1')|float + states('sensor.back_up_l1_power')|float) }}) renders=260> all_states=False all_states_lifecycle=False domains=frozenset() domains_lifecycle=frozenset() entities=frozenset({'sensor.load_l1', 'sensor.back_up_l1_power'}) rate_limit=None has_time=False exception=None is_static=False>
RenderInfo object in memory: <RenderInfo Template<template=({{ (states('sensor.load_l3')|float + states('sensor.back_up_l3_power')|float) }}) renders=278> all_states=False all_states_lifecycle=False domains=frozenset() domains_lifecycle=frozenset() entities=frozenset({'sensor.load_l3', 'sensor.back_up_l3_power'}) rate_limit=None has_time=False exception=None is_static=False>
RenderInfo object in memory: <RenderInfo Template<template=({{ (states('sensor.load_l1')|float + states('sensor.back_up_l1_power')|float) + (states('sensor.load_l2')|float + states('sensor.back_up_l2_power')|float) + (states('sensor.load_l3')|float + states('sensor.back_up_l3_power')|float) }}) renders=800> all_states=False all_states_lifecycle=False domains=frozenset() domains_lifecycle=frozenset() entities=frozenset({'sensor.back_up_l3_power', 'sensor.back_up_l2_power', 'sensor.load_l1', 'sensor.back_up_l1_power', 'sensor.load_l3', 'sensor.load_l2'}) rate_limit=None has_time=False exception=None is_static=False>
RenderInfo object in memory: <RenderInfo Template<template=({{ (states('sensor.load_l2')|float + states('sensor.back_up_l2_power')|float) }}) renders=270> all_states=False all_states_lifecycle=False domains=frozenset() domains_lifecycle=frozenset() entities=frozenset({'sensor.back_up_l2_power', 'sensor.load_l2'}) rate_limit=None has_time=False exception=None is_static=False>
I dont see anything wrong with the template, it works, all entities are working.
Logger: homeassistant
Source: /usr/src/homeassistant/homeassistant/runner.py:148
First occurred: 18:29:42 (735 occurrences)
Last logged: 20:20:31
Error doing job: Error on transport creation for incoming connection (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 235, in _accept_connection2
await waiter
File "/usr/local/lib/python3.12/asyncio/sslproto.py", line 578, in _on_handshake_complete
raise handshake_exc
ConnectionResetError
There is also this weird error I could not find anything about
While the HA is running I can download smaller log which I uploaded here.
A would appreciate any help!!!