Skip to content

Commit

Permalink
Updates Homebridge UI configuration screen to accommodate new Exit de…
Browse files Browse the repository at this point in the history
…lay settings.
  • Loading branch information
mkormendy committed May 23, 2022
1 parent d03aa95 commit 5c9cb51
Showing 1 changed file with 46 additions and 1 deletion.
47 changes: 46 additions & 1 deletion config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
},
"entryDelaySettings": {
"type": "object",
"expandable": true,
"expanded": false,
"properties": {
"": {
"description": "Configurable settings for when the security system has been violated while armed to \"Away\" mode.<br>By default the beeper will have a constant sound, but if you use the example values, it will produce a long tone once every second so you know how much time you have to disarm the security system.",
Expand Down Expand Up @@ -80,6 +82,49 @@
"placeholder": "(E.g., -1)"
}
}
},
"exitDelaySettings": {
"type": "object",
"expandable": true,
"expanded": false,
"properties": {
"": {
"description": "Configurable settings for the delay used before the security system has been completely armed.<br>If you don't want a delay, set this to 0.",
"type": "object"
},
"delay": {
"title": "Delay (seconds) (optional)",
"description": "The time used for the exit delay before the security system is completely armed.",
"type": "number",
"step": 1,
"minimum": 0,
"placeholder": "(default: 30)"
},
"audibleBeeperModes": {
"title": "The following selected arming modes will have an audible beeper countdown (if delay is not zero):",
"type": "array",
"uniqueItems": true,
"items": {
"title": "Mode",
"type": "string",
"enum": [
"0",
"2",
"1"
],
"enumNames": [
"Home/Stay",
"Night",
"Away (default)"
]
},
"default": [
false,
false,
"1"
]
}
}
}
}
},
Expand Down Expand Up @@ -451,7 +496,7 @@
"1"
],
"enumNames": [
"Home",
"Home/Stay",
"Night",
"Away"
]
Expand Down

0 comments on commit 5c9cb51

Please sign in to comment.