Skip to content

Allow float values in miot value-range and range descriptors#2085

Merged
rytilahti merged 3 commits into
masterfrom
fix/miot-value-range
Jul 21, 2026
Merged

Allow float values in miot value-range and range descriptors#2085
rytilahti merged 3 commits into
masterfrom
fix/miot-value-range

Conversation

@rytilahti

@rytilahti rytilahti commented Jul 21, 2026

Copy link
Copy Markdown
Owner
  • The MIoT schema allows floats for range bounds and step values
  • Relax int to float in MiotProperty.range, RangeDescriptor, and ValidSettingRange

The MIoT schema allows floats for range bounds and step values,
so int is too strict for these fields.
@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.37%. Comparing base (578ef14) to head (af147a7).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2085   +/-   ##
=======================================
  Coverage   84.37%   84.37%           
=======================================
  Files         201      201           
  Lines       20365    20370    +5     
  Branches     1076     1077    +1     
=======================================
+ Hits        17182    17187    +5     
  Misses       2993     2993           
  Partials      190      190           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@rytilahti rytilahti added the bug label Jul 21, 2026
@rytilahti
rytilahti merged commit fdefe65 into master Jul 21, 2026
14 checks passed
@rytilahti
rytilahti deleted the fix/miot-value-range branch July 21, 2026 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant