forked from jhurliman/homebridge-frontpoint
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from cap10morgan/feature/config-schema
Add config.schema.json for UI-X settings support
- Loading branch information
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": "Alarmdotcom", | ||
"pluginType": "platform", | ||
"singular": true, | ||
"headerDisplay": "Alarm.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" | ||
} | ||
} | ||
} | ||
} | ||
} |