Skip to content

Add measurement state class to battery SOC sensors - #2110

Merged
wills106 merged 2 commits into
wills106:mainfrom
rosenrot00:patch-26
Jun 5, 2026
Merged

Add measurement state class to battery SOC sensors#2110
wills106 merged 2 commits into
wills106:mainfrom
rosenrot00:patch-26

Conversation

@rosenrot00

Copy link
Copy Markdown
Contributor

Adds SensorStateClass.MEASUREMENT to Growatt and Solinteg battery SOC sensors so Home Assistant can create long-term statistics for the Energy dashboard SOC badge while keeping the correct battery device class.

@wills106
wills106 merged commit d62f8f5 into wills106:main Jun 5, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants