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

CommandClass meter v6 reset implementation #138

Merged
merged 3 commits into from
Nov 29, 2023

Conversation

ttherbrink
Copy link
Contributor

@ttherbrink ttherbrink commented Nov 27, 2023

Reason:
Command class meter V6 requires the METER_RESET command to have properties defining which meter to reset and to which value. These were not present in the implementation of meterReset()

Changes:

  • Define default properties to reset the kWh properties of the Z-Wave device
  • Allow for the option te redefine the properties
  • Do not set this option if the command class is not version 6

@RobinBol RobinBol self-requested a review November 28, 2023 11:33
@ttherbrink ttherbrink merged commit 926ab4f into master Nov 29, 2023
3 checks passed
@ttherbrink ttherbrink deleted the feature/commandclass-meter-v6-reset branch November 29, 2023 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants