Cards in bulk sporadically

for a month, at least once a day, some cards have not been displayed.
especially the thermostats and indicators, while buttons,
and the entity view are seen. after restarting home assistant everything works again.
I attach photos and error log


Logger: homeassistant.components.websocket_api.http.connection
Source: helpers/entity_registry.py:208
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 15:57:11 (6 occurrences)
Last logged: 15:58:46
[547111647744] Error handling message: Unknown error (unknown_error) Alessandro from 185.152.253.72 (Mozilla/5.0 (Linux; Android 12; motorola edge 30) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Mobile Safari/537.36)
[547172573408] Error handling message: Unknown error (unknown_error) Alessandro from 185.152.253.72 (Mozilla/5.0 (Linux; Android 12; motorola edge 30) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Mobile Safari/537.36)
[547017764784] Error handling message: Unknown error (unknown_error) Alessandro from 185.152.253.72 (Mozilla/5.0 (Linux; Android 12; motorola edge 30) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Mobile Safari/537.36)
[547111638624] Error handling message: Unknown error (unknown_error) Alessandro from 185.152.253.72 (Mozilla/5.0 (Linux; Android 12; motorola edge 30 Build/S1RDS32.55-106-3; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/112.0.5615.135 Mobile Safari/537.36 Home Assistant/2023.3.0-3260 (Android 12; motorola edge 30))
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/websocket_api/connection.py”, line 180, in async_handle
handler(self.hass, self, schema(msg))
File “/usr/src/homeassistant/homeassistant/components/config/entity_registry.py”, line 80, in websocket_list_entities_for_display
+ “,”.join(
File “/usr/src/homeassistant/homeassistant/components/config/entity_registry.py”, line 83, in
if entry.disabled_by is None and entry.display_json_repr is not None
File “/usr/src/homeassistant/homeassistant/helpers/entity_registry.py”, line 226, in display_json_repr
dict_repr = self._as_display_dict
File “/usr/src/homeassistant/homeassistant/helpers/entity_registry.py”, line 208, in _as_display_dict
if (precision := sensor_options.get(“display_precision”)) is not None:
RecursionError: maximum recursion depth exceeded while calling a Python object

can anyone help me or had the same problem?

where can i find the path:

/usr/src/homeassistant/homeassistant/components/websocket_api/connection.py

and how do i access it? i have the following error and i want to have a look at the file.

Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/websocket_api/connection.py”, line 180, in async_handle

Fixed, the error was due to the high temperatures of the raspberry due to a malfunction of the fan. with excessive workload the server gave the following error