Replies: 4 comments 6 replies
-
Can you reference the code you're talking about? |
Beta Was this translation helpful? Give feedback.
-
For example, https://github.com/GuyKh/iec-custom-component/blob/main/custom_components%2Fiec%2Fsensor.py#L149 |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
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
Beta Was this translation helpful? Give feedback.
All reactions