Unsupported state class (no statistics possible)
See original GitHub issueHome Assistant Android version: 2022.8.0
Android version: Several
Phone model: Amazon Fire HD tablets
Home Assistant version: 2022.6.7
Last working Home Assistant release (if known): it never did for those affected entities
Description of problem: HA dev tools statistics tab shows issue The state class of this entity, is not supported.
for several entities from different devices, e. g.
- battery temperature
unit_of_measurement: °C
device_class: temperature
- battery level
unit_of_measurement: %
device_class: battery
- storage
unit_of_measurement: %
- light sensor
unit_of_measurement: lx
device_class: illuminance
Traceback (if applicable, to get the logs you may refer to: https://companion.home-assistant.io/docs/troubleshooting/faqs/#android-crash-logs):
Screenshot of problem:
Additional information:
- I see this for a long time (months) and finally decided to report it.
- There was no actual change (HA update, Companion app update etc.) that triggered this issue, it existed since integrating the devices.
- Not all entities are affected, only those of the above listed sensor types.
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Unsupported state class · Issue #40 - GitHub
Statistics can not be generated until this entity has a supported state class. I think the state_class measurement should be added.
Read more >What qualifies a sensor to appear in "developer tools"
I have 4 sensors on the statistics tab with a complaint about “unsupported state class”. They actually do not have any state class...
Read more >Unsupported state or unable to authenticate data error when ...
When trying to encrypt and decrypt a file through a Cipher/Decipher stream I always encounter the following error: Unsupported state or unable ...
Read more >SQLSTATE values and common error codes - Db2 - IBM
A FETCH CURRENT CONTINUE was requested, but there is no truncated LOB or XML data to return. Table 18. Class Code 25: Invalid...
Read more >Resolve incompatible network state errors when using ...
Short description · There are no available IP addresses in the subnet that the Amazon RDS DB instance was launched into. · The...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
HA core for this fix actually
Oh I see, didn’t notice this one is a duplicate. Well, the other one is locked and ends with “is in 2022.9 beta”…
And the error message definitely points to the integration:
https://github.com/home-assistant/android/issues/2847#issuecomment-1345649375
Will monitor the other issue.