-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve range value read only attribute default precision support (#650)
Signed-off-by: jsetton <[email protected]>
- Loading branch information
Showing
6 changed files
with
96 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1794,8 +1794,13 @@ Items that represent components of a device that are characterized by numbers wi | |
* defaults to no support | ||
* supportedRange=`<range>` | ||
* range formatted as `<minValue>:<maxValue>:<precision>` (e.g. `supportedRange="0:100:1"`) | ||
* precision value used as default increment for adjusted range value request. | ||
* defaults to item state description min, max & step values, if defined, otherwise `"0:100:1"` (Dimmer/Rollershutter); `"0:10:1"` (Number) | ||
* precision value used as: | ||
* default increment for adjusted range value requests | ||
* item state rounding for range value state requests | ||
* defaults to, in order of precedence: | ||
* item state description min, max & step properties | ||
* item state presentation precision for non-controllable Number | ||
* `"0:100:1"` (Dimmer/Rollershutter); `"0:10:1"` (Number); `"0:10:0.01"` (Number Read-Only) | ||
* presets=`<presets>` | ||
* each preset formatted as `<presetValue>=<@assetIdOrName1>:...` (e.g. `presets="[email protected]:Lowest,[email protected]:Highest"`) | ||
* limited to a maximum of 150 presets | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters