Skip to content

Commit

Permalink
Fixes field and section titles for HOOBS configuration user interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkormendy committed Jul 20, 2021
1 parent 6aac8fc commit d0a552f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"required": true
},
"advanced": {
"title": "Advanced",
"type": "object",
"expandable": true,
"expanded": false,
Expand Down Expand Up @@ -83,6 +84,7 @@
}
},
"panels": {
"title": "Panels",
"description": "These are the individual Konnected Alarm Panel module boards.",
"type": "array",
"orderable": true,
Expand Down Expand Up @@ -118,6 +120,7 @@
"default": true
},
"zones": {
"title": "Zones",
"description": "Customize the names and types of your zones.<br><span class='primary-text'>You need to define your zones here to create sensor and actuator accessories in HomeKit.</span>",
"type": "array",
"maxItems": 15,
Expand Down Expand Up @@ -417,6 +420,7 @@
}
},
"binarySensorSettings": {
"title": "Binary Sensor Settings",
"type": "object",
"condition": {
"functionBody": "try { return ['contact','motion','glass','water','smoke'].includes(model.panels[arrayIndices[0]].zones[arrayIndices[1]].zoneType) } catch (e) { return false }"
Expand Down Expand Up @@ -456,6 +460,7 @@
}
},
"environmentalSensorSettings": {
"title": "Environmental Sensor Settings",
"type": "object",
"condition": {
"functionBody": "try { return ['humidtemp','temperature'].includes(model.panels[arrayIndices[0]].zones[arrayIndices[1]].zoneType) } catch (e) { return false }"
Expand All @@ -475,6 +480,7 @@
}
},
"switchSettings": {
"title": "Switch Settings",
"type": "object",
"condition": {
"functionBody": "try { return ['beeper','siren','strobe','switch'].includes(model.panels[arrayIndices[0]].zones[arrayIndices[1]].zoneType) } catch(e){return false}"
Expand Down

0 comments on commit d0a552f

Please sign in to comment.