Replies: 4 comments 6 replies
|
Can you reference the code you're talking about? |
0 replies
|
For example, https://github.com/GuyKh/iec-custom-component/blob/main/custom_components%2Fiec%2Fsensor.py#L149 |
0 replies
|
Please read here about state classes In your example - the forecasted usage - I don't really see a point of adding a state class to it. |
0 replies
|
It was just an example for commented out state class, maybe others are more suitable In general it would be nice if I could see comparison month to moth of my power consumption and cost. if it's possible it would be great |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Checklist
Is your feature request related to a problem? Please describe.
I saw that the state class for some sensor is commented out. Without it we'll have only 15 days of history, and it would be nice to get more
Describe the solution you'd like
Uncomment the state class
Describe alternatives you've considered
Maybe there are other to reasons why it's disabled, and if so it's okay
Additional context
All reactions