Merge PR #348: Add unit to batterylevel interface
This commit is contained in:
commit
1016dd61a7
@ -5,7 +5,8 @@
|
|||||||
"name": "batteryLevel",
|
"name": "batteryLevel",
|
||||||
"type": "int",
|
"type": "int",
|
||||||
"minValue": 0,
|
"minValue": 0,
|
||||||
"maxValue": 100
|
"maxValue": 100,
|
||||||
|
"unit": "Percentage"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -111,6 +111,7 @@
|
|||||||
"displayNameEvent": "Battery level",
|
"displayNameEvent": "Battery level",
|
||||||
"displayNameAction": "Set battery level",
|
"displayNameAction": "Set battery level",
|
||||||
"type": "int",
|
"type": "int",
|
||||||
|
"unit": "Percentage",
|
||||||
"minValue": 0,
|
"minValue": 0,
|
||||||
"maxValue": 100,
|
"maxValue": 100,
|
||||||
"defaultValue": 0,
|
"defaultValue": 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user