Skip to content

Some Enphase Envoy integration entities are missing state_class attribute making them unuseable in new 2025.12 energy dashboard #157935

@uschindler

Description

@uschindler

The problem

With the update to Home Assistant Core 2025.12.0, it is now possible to add entities for the actual live power to the energy dashboard. You can add grid power import/export, battery dis-/encharge and production power. This works well for the entities of grid power and solar production. But the battery dis-/encharge power entity can't be added. The entities also have correct sign (+ and - fitting what energy dashboard requires), so you need no templates like for the energy entities.

The reason for this is described in this issue: #157895

Actually after more checks it looks like some entities are missing the "state_class" attribute (you can verify this in the state editor of developer tools). Basically it is missing for all battery-related entities.

Without a state_class, the values are a not stored in the statistics, so the energy dashboard can't use them. I'd suggest to add a state_class to all exported entities.

As workaround I used customize.yaml where I set the state_class explicitely to "measurement" for the battery dis-/encharge entity (sensor.encharge_XXXXX_power).

What version of Home Assistant Core has the issue?

core-2025.12.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Enphase Envoy

Link to integration documentation on our website

https://www.home-assistant.io/integrations/enphase_envoy/

Diagnostics information

No response

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions