Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entity sensor.main_2_wh from integration iotawatt has state class total_increasing, but its state is not strictly increasing. #33

Open
jherby2k opened this issue Sep 14, 2021 · 1 comment · May be fixed by #37

Comments

@jherby2k
Copy link

I get this error in the logs for every input:

Entity sensor.xxxx_wh from integration iotawatt has state class total_increasing, but its state is not strictly increasing.

Do we even need these .wh sensors? Aren't the accumulating ones just better?

@OzGav
Copy link

OzGav commented Oct 8, 2021

I think the issue would be resolved by changing the state class to total instead of total_increasing as per here: https://developers.home-assistant.io/blog/2021/09/20/state_class_total

I have the issue because my solar results in the totals decreasing at times. I assume you have some similar situation

OzGav added a commit to OzGav/iotawatt_ha that referenced this issue Dec 19, 2021
I think this will fix gtdiehl#33
@OzGav OzGav linked a pull request Dec 19, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants