Add Schema for Config

Add schema file for homebridge-config-ui-x and similar plugins
This commit is contained in:
Berkay 2019-04-08 22:26:30 +02:00
parent e1754e02ed
commit 7c72aabb25

23
config.schema.json Normal file
View File

@ -0,0 +1,23 @@
{
"pluginAlias": "NeatoVacuumRobot",
"pluginType": "platform",
"headerDisplay": "For Advanced settings like Refresh time interval or Disabled switches/sensors. [Check Here](https://github.com/naofireblade/homebridge-neato#readme)",
"schema": {
"type": "object",
"properties": {
"email": {
"title": "email",
"type": "string",
"required": true,
"format": "email",
"description": "Your Email Address"
},
"password": {
"title": "password",
"type": "string",
"required": true,
"description": "Your Password"
}
}
}
}