homebridge-kobold-Homaassis.../config.schema.json
2021-05-04 09:11:50 +02:00

93 lines
2.2 KiB
JSON

{
"pluginAlias": "NeatoVacuumRobot",
"pluginType": "platform",
"singular": true,
"headerDisplay": "",
"schema": {
"type": "object",
"properties": {
"email": {
"title": "E-Mail",
"type": "string",
"required": true,
"format": "email"
},
"password": {
"title": "Password",
"type": "string",
"required": true
},
"prefix": {
"title": "Prefix robot name",
"description": "Display the name of the robot in front of every service.",
"type": "boolean",
"default": false
},
"backgroundUpdate": {
"title": "Background update",
"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,
"default": 30
},
"services": {
"type": "array",
"items": {
"type": "string",
"enum": [
"Clean house",
"Clean spot",
"Go to dock",
"Find me",
"Schedule",
"Eco",
"Nogo lines",
"Extra care",
"Docked sensor",
"Bin full sensor"
]
},
"uniqueItems": true
}
}
},
"layout": [
{
"type": "help",
"helpvalue": "<h4>Login</h4>"
},
{
"type": "help",
"helpvalue": "Enter the credentials of your Neato app. If you don't have a neato account yet, register <a target='_blank' href='https://www.neatorobotics.com/create-account/'>here</a>"
},
{
"type": "flex",
"flex-flow": "row wrap",
"items": [
"email",
{
"key": "password",
"type": "password"
}
]
},
{
"type": "help",
"helpvalue": "<h4>Options</h4>"
},
"backgroundUpdate",
"prefix",
{
"type": "fieldset",
"title": "Services",
"description": "<i>Services to be displayed in Homekit</i>",
"expandable": true,
"items": [
{
"key": "services",
"notitle": true
}
]
}
]
}