Add state_class to Entity #459
Closed
slinkingant
started this conversation in
Feature Request
Replies: 2 comments
-
Yes, these need to be added. In the interim, I believe you can set these values as attributes of the entity and they should be picked up. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Added in v0.40.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can you add a 'state_class' and 'last_reset' to the optional configuration of an Entity-sensor?
I've created a flow to fetch and parse the generated power from my Solar inverter, but I can't select it to use in the new Energy dashboard due to the right state_class not being provided by the sensor.
See:
https://www.home-assistant.io/more-info/statistics/
https://developers.home-assistant.io/docs/core/entity/sensor/#long-term-statistics
Beta Was this translation helpful? Give feedback.
All reactions