Merge pull request #26 from btutal/master

Add Schema for Config
This commit is contained in:
Arne 2019-04-09 12:43:31 +02:00 committed by GitHub
commit 55020c005b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"
}
}
}
}