-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
ZWave: Add reset service to meters 8000 #7676
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
Conversation
@turbokongen, thanks for your PR! By analyzing the history of the files in this pull request, we identified @balloob, @andrey-git and @armills to be potential reviewers. |
Why index 33? Could you point to documentation? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ouch. This is ugly :(
Even though it looks like we'll only ever have the one, I think it's probably worth adding to |
You cant reset only one index of the command class. The button resets all meters of the instance. |
I just meant adding |
Description:
This adds a reset_node_meters service to zwave that can let the user reset values in the command_class_meter class. (I.e. kWh meter) This "button" will be present at index 33 of the values if the node supports it.
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.io#2674