-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add config.schema.json for UI-X settings support
- Loading branch information
1 parent
15c9088
commit 71d4e07
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"pluginAlias": "Alarm Dot Com", | ||
"pluginType": "platform", | ||
"singular": true, | ||
"headerDisplay": "Alarm Dot Com security system plugin using Node.js API", | ||
"schema": { | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"title": "Name", | ||
"type": "string", | ||
"default": "Security System", | ||
"description": "The name that will appear in your homebridge log" | ||
}, | ||
"username": { | ||
"title": "Username", | ||
"type": "string", | ||
"description": "Alarm.com username", | ||
"required": true | ||
}, | ||
"password": { | ||
"title": "Password", | ||
"type": "string", | ||
"description": "Alarm.com password", | ||
"required": true | ||
}, | ||
"logLevel": { | ||
"title": "Log Level", | ||
"type": "integer", | ||
"default": 3, | ||
"required": true, | ||
"oneOf": [ | ||
{ "title": "No log entries", "enum": [0] }, | ||
{ "title": "Only errors", "enum": [1] }, | ||
{ "title": "Only warnings and errors", "enum": [2] }, | ||
{ "title": "Notices, warnings, and errors", "enum": [3] }, | ||
{ "title": "Verbose", "enum": [4] } | ||
] | ||
}, | ||
"ignoredDevices": { | ||
"title": "Ignored Devices", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"placeholder": "96922426-1" | ||
} | ||
} | ||
} | ||
} | ||
} |