Skip to content

Commit

Permalink
feat: add slider units
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinBol committed May 6, 2024
1 parent 00c7cc8 commit f1fa561
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion assets/capability/capabilities/dim.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"min": 0,
"max": 1,
"decimals": 2,
"units": "%",
"units": {
"en": "%"
},
"getable": true,
"setable": true,
"uiComponent": "slider",
Expand Down
3 changes: 3 additions & 0 deletions assets/capability/capabilities/volume_set.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
"min": 0,
"max": 1,
"decimals": 2,
"units": {
"en": "%"
},
"setable": true,
"getable": true,
"uiComponent": "slider",
Expand Down
3 changes: 3 additions & 0 deletions assets/capability/capabilities/windowcoverings_tilt_set.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
"type": "number",
"min": 0,
"max": 1,
"units": {
"en": "%"
},
"decimals": 2,
"getable": true,
"setable": true,
Expand Down

0 comments on commit f1fa561

Please sign in to comment.