I’m running Home Assistant 2023.5.3 Supervisor 2023.04.1, Operating System 10.1. I’m running it as a VM on ESXi on a Nuc i5. A few weeks ago, I started having to restart home assistant once a day, every day because tons of entities like camera feeds, door sensors, door locks, etc… , device trackers etc…would suddenly stop showing in the browser.
When I would go to automations, almost all the triggers would not be displayed. All of these problems will disappear after a reboot for approximately 17 hours, then errors will start showing up in the log from all browser Ip addresses such as my main computer, and my 3 wall tablets. When that happens, a refresh of the browser doesn’t help, only a reboot of Home Assistant. The error from the computers accessing Home Assistant from browsers is:
2023-05-17 17:08:40.253 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140609537941440] Error handling message: Unknown error (unknown_error) Jeff from 192.168.1.205 (Mozilla/5.0 (Linux; Android 10; Lenovo TB-X505F Build/QKQ1.191224.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/112.0.5615.135 Safari/537.36)
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 <genexpr>
if entry.disabled_by is None and entry.display_json_repr is not None
File "/usr/src/homeassistant/homeassistant/helpers/entity_registry.py", line 224, in display_json_repr
dict_repr = self._as_display_dict
File "/usr/src/homeassistant/homeassistant/helpers/entity_registry.py", line 206, in _as_display_dict
if (precision := sensor_options.get("display_precision")) is not None:
RecursionError: maximum recursion depth exceeded while calling a Python object
The error with show up with the IP address of my main computer and the 3 wall tablets and they continue throughout the log until I reboot. Then all is good for roughly 17 hours. I’m not sure how to troubleshoot this issue because unless I’m overlooking something, there doesn’t seem to be any specific integration that is producing an error.
As I said this has gone on for a few weeks. A couple of days ago, the Nvme drive went out in the NUC. I ordered a new one, reinstalled ESXi, created the vm and restored Home Assistant without issues. I was hoping my problem would go away, but it is still with me every single day. I’m not looking to be spoonfed the solution, but can you at least point me in the direction on where to start. My logging level is currently set to info. Should I post my whole log file? Not sure if this will work, but here’s a dropbox link to my whole log file from reboot to just before I reboot again because of the issue: The errors in question start at 17:05:25.
Link Removed