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

Expose maximum/minimum/step values of a numeric characteristics #126

Merged
merged 6 commits into from
Jul 22, 2023

Conversation

karlentwistle
Copy link
Owner

@karlentwistle karlentwistle commented Jul 17, 2023

This exposes the optional Properties of Characteristic Objects in JSON

  • Minimum Value
  • Maximum Value
  • Step Value

These characteristics are only relevant for characteristics of format int or float. They allow finer specification of characteristics beyond the defaults. For example: if someone wants to limit the cooling temperature of an AC unit heater_cooler with no heater between 17C and 31C in 1C steps.

@karlentwistle karlentwistle force-pushed the ke/characteristic_numeric_constraints branch from 3cba5f2 to dec7756 Compare July 20, 2023 21:19
@karlentwistle karlentwistle merged commit c6e035c into main Jul 22, 2023
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