update config schema

This commit is contained in:
Luis Riegger 2021-05-09 16:11:40 +02:00
parent 4f9e2ee7f2
commit acb50b3c95

View File

@ -34,13 +34,13 @@
"required": true
},
"prefix": {
"title": "Prefix robot name",
"title": "Prefix with Robot Name",
"description": "Display the name of the robot in front of every service.",
"type": "boolean",
"default": false
},
"backgroundUpdate": {
"title": "Background update",
"title": "Background Update Interval",
"description": "Interval for background updates while the robot is not cleaning (in minutes). During cleaning, the robot will automatically update at a faster rate.",
"type": "integer",
"minimum": 1,
@ -48,36 +48,74 @@
},
"services": {
"type": "array",
"title": "Services",
"title": "Enabled Services",
"description": "The services to be made available for Homekit",
"uniqueItems": true,
"items": {
"title": "hihi",
"type": "string",
"enum": [
"Clean house",
"Clean spot",
"Go to dock",
"Find me",
"clean",
"cleanThe",
"cleanSpot",
"goToDock",
"dockState",
"binFull",
"eco",
"noGoLines",
"extraCare",
"schedule",
"findMe",
"battery"
],
"enumNames": [
"Clean",
"Clean the",
"Clean Spot",
"Go to Dock",
"Docked State",
"Bin Full",
"Eco Mode",
"NoGo Lines",
"Extra Care",
"Schedule",
"Eco",
"Nogo lines",
"Extra care",
"Docked sensor",
"Bin full sensor"
"Find me",
"Battery"
]
},
"default": [
"Clean house",
"Clean spot",
"Go to dock",
"Find me",
"Schedule",
"Eco",
"Nogo lines",
"Extra care",
"Docked sensor",
"Bin full sensor"
"clean",
"cleanThe",
"goToDock",
"dockState",
"binFull",
"eco",
"noGoLines",
"extraCare",
"schedule",
"findMe",
"cleanSpot",
"battery"
]
}
}
},
"layout" : [
"language",
"token",
"prefix",
"backgroundUpdate",
{
"type": "fieldset",
"title": "Displayed Services",
"description": "<i>Services to be displayed in Homekit</i>",
"expandable": true,
"items": [
{
"key": "services",
"notitle": false
}
]
}
]
}