Skip to content

Conversation

@rboy1
Copy link

@rboy1 rboy1 commented Nov 16, 2025

Check all that apply

Type of Change

  • WWST Certification Request
    • If this is your first time contributing code:
      • I have reviewed the README.md file
      • I have reviewed the CODE_OF_CONDUCT.md file
      • I have signed the CLA
    • I plan on entering a WWST Certification Request or have entered a request through the WWST Certification console at developer.smartthings.com
  • [X ] Bug fix
  • New feature
  • Refactor

Checklist

  • [ X] I have performed a self-review of my code
  • I have commented my code in hard-to-understand areas
  • [ X] I have verified my changes by testing with a device or have communicated a plan for testing
  • I am adding new behavior, such as adding a sub-driver, and have added and run new unit tests to cover the new behavior

Description of Change

ZWave requires number to sent as signed integers when using Configuration:Set otherwise the lua library throws an error when the last bit in the integer is used and number if not negative

Summary of Completed Tests

Tested with devices with a Configuration parameter of size 2 and a configuration value of 43200
When using an unsigned integer the lua library would throw an integer overflow error at runtime, fixed when converted to signed integer

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