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

Change last_reset with is depreteched to state_class #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

moorgrove
Copy link

last_reset in combination with measurement is deprecated as stated in the link blew. I changed it to conform to the new state_class total_increasing for the sensors containing cumulative values to work with Home Assistant Energy dashboard.

https://developers.home-assistant.io/blog/2021/08/16/state_class_total/

last_reset in combination with measurement is deprecated as stated in the link blew. I changed it to conform to the new state_class total_increasing for the sensors containing cumulative values to work with Home Assistant Energy dashboard.

https://developers.home-assistant.io/blog/2021/08/16/state_class_total/
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 this pull request may close these issues.

1 participant