Skip to content

[Bug]: Growatt - SOC sensor has wrong device class for HA 2026.6.0 energy board #2109

Description

@nilaz

Describe the bug

HA 2026.6.0 can show SOC in Energy Dashboard but the Growatt SOC-sensor has wrong metadata.
Today it is

device_class: battery

According to https://www.home-assistant.io/docs/energy/faq/ it should be

device_class: energy
state_class: measurement

if I understand it correct.

Integration Version

2026.06.2

Homeassistant core version

2026.6.0

Inverter brand

Growatt

Plugin used

plugin_growatt.py

Serial prefix

Connection Method

shinewlanx2

Detailed Error Log

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnon solaxnon solax

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions