Hi,
Maybe since the last upgrade to 2025.4.4 my developers tools → statistics is gone, i’m not sure, but between 2025.4.4 and OS 15.2… its gone.
If i restart homeassistant the statistics appear again almost a few seconds, near a minute, but then, again gone…
I can’t see anything in the log, nor in the extended one, but maybe i don’t know how search for ti.
After restarting:
And a few seconds later… bye bye…
In the other hand my postgress database continue updating correctly the states table, statistics table and short_term_statistics table. I’m able to query all of then perfectly.
Someone else have the same problem? Any help will be so appreciated.
Rabbit.
I find out that the crash was after an error logged in the home-assisant.log, and the sensor was named a little bit odd, without the word “sensor.”
2025-05-07 21:20:55.232 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140431441504016] Error handling message: Unknown error (unknown_error) root from 192.168.1.10 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/recorder/websocket_api.py", line 302, in ws_validate_statistics
validation_issues = await instance.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<2 lines>...
)
^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/recorder/statistics.py", line 2457, in validate_statistics
platform_validation.update(platform_validate_statistics(hass))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/recorder.py", line 969, in validate_statistics
if split_entity_id(statistic_id)[0] != DOMAIN:
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 209, in split_entity_id
raise ValueError(f"Invalid entity ID {entity_id}")
ValueError: Invalid entity ID **utilitymeter_02_shelly_plug_s_basementfridge_yearlyconsumption**
After querying the statistics_meta table, i found that i have to sensors:
- utilitymeter_02_shelly_plug_s_basementfridge_yearlyconsumption
- sensor.utilitymeter_02_shelly_plug_s_basementfridge_yearlyconsumption
I deteled the wrong one and the Developer tools → statistics is full again.