I am trying to create a zwave driver that has a setting that is 1 byte with values from 0 to 255. When I try to compile the driver.settings.compose.json file with this in it:
{
"id": "dimmingSpeedUpRemote",
"type": "number",
"label": {
"en": "Dimming Speed Up - Remote (#1)",
"nl": ""
},
"hint": {
"en": "",
"nl": ""
},
"zwave": {
"index": 1,
"size": 1
},
"attr": {
"min": 0,
"max": 254
},
"value": 25
},
I get an error:
âś– App did not validate against level `debug`:
âś– Error: Value cannot be signed: VZW31, dimmingSpeedUpRemote. Max value: 127, actual value: 254
at App._validate (/usr/local/lib/node_modules/homey/lib/App.js:132:13)
at async App.install (/usr/local/lib/node_modules/homey/lib/App.js:802:19)
at async App.runRemote (/usr/local/lib/node_modules/homey/lib/App.js:199:21)
at async exports.handler (/usr/local/lib/node_modules/homey/bin/cmds/app/run.js:43:5)
how do I setup a byte to be unsigned?
Thanks