ESPHome - Home Assistant State Class

Hello,

I am making a seperate post about the sensor state class problem that I and others are currently experiencing with ESPHome and Home Assistant (Original post)

The problem is when a ESP device has a sensor with the state_class of MEASUREMENT_ANGLE. Home Assistant doesn’t show any of the entities under the device besides the Firmware. I noticed this after commenting out my GPS component, then creating a template sensor that updated instead. Once I changed the template sensor state_class toMEASUREMENT_ANGLE, the problems resumed.

Temporary solution: Change state_class toMEASUREMENT.

Seems to have started after 2026.1.2 but I can not say for certain as I am not sure what firmware was on the device before I upgraded it.

CONFIG:

LOGS

This is definitely over my head but wanted to create viability and a work around for anyone else that has a similar issue.

If there is somewhere that I should be posting this instead, please let me know and I will do that.

Automate on!
DaviBoi