#Change in sensors?

1 messages · Page 1 of 1 (latest)

unique grail
#

Hi, was there some recent change to sensor entities? Im getting a lot of issues suddenly especially in my emergy dashboards. I can see the values in the entity but the energy dashboard is not picking them up

stable nebula
#

I'm seeing the same thing since updating Core to 2025.4.2 and OS to 15.2. Did you upgrade one of those components when this broke?

#

I'll also add, it only seems to be affecting the default Energy dashboard. My custom Solar Array dashboard is getting updated data, as expected. But the same data isn't showing in the Energy dashboard. And the dashboard stopped working right after I updated

oblique perch
#

probably your sensor entity is not receiving updates

#

check the graphs in your integration

stable nebula
#

So selecting the entity for the PV panels output doesn't show the history graph, but clicking "show more" shows it does have historical data. In fact all entities look to be having this problem as well.

viscid marsh
#

Something wrong with statistics collection.

#

check developer-tools/statistics

stable nebula
#

Not sure if related or not (likely not) but my Rinnai integration broke after the upgrade and I can't get my one ESPHome device to update to 2025.4.0 (even though the ESPHome integration updated just fine).

#

See these tracebacks in the logs for statistics though:

#
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/recorder.py", line 96, in session_scope
    yield session
  File "/usr/src/homeassistant/homeassistant/components/recorder/statistics.py", line 611, in compile_statistics
    modified_statistic_ids = _compile_statistics(
        instance, session, start, fire_events
    )
  File "/usr/src/homeassistant/homeassistant/components/recorder/statistics.py", line 664, in _compile_statistics
    compiled: PlatformCompiledStatistics = platform_compile_statistics(
                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        instance.hass, session, start, end
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/src/homeassistant/homeassistant/components/sensor/recorder.py", line 463, in compile_statistics
    sensor_states = _get_sensor_states(hass)
  File "/usr/src/homeassistant/homeassistant/components/sensor/recorder.py", line 117, in _get_sensor_states
    or try_parse_enum(SensorStateClass, state_class)
       ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: unhashable type: 'list'
oblique perch
#

is that at all related to your energy sensor?

viscid marsh
#

his whole statistics platform looks fubar

stable nebula
#

Not sure what could've caused it to get hosed. I updated the OS to 15.2. Rebooted. Then updated Core to 2025.4.2 from 2025.4.1. Reloaded.

#

OS was 15.1 previously.

stable nebula
#

Would rolling back to 2025.4.1 from backup be advisable or might that cause more problems? Not sure how to un-fubar it at this point.