My comments were based purely on having used the REST API to show me the available capabilities. There are about two hundred of them and these three (one considered defunct and two live) seem rather familiar.
{
"id": "alarmSystem",
"version": 1,
"status": "dead",
"name": "Alarm System",
"attributes": {
"alarmSystemStatus": {
"schema": {
"type": "object",
"properties": {
"value": {
"title": "AlarmSystemState",
"type": "string",
"enum": [
"away",
"off",
"stay"
]
}
},
"additionalProperties": false,
"required": [
"value"
]
},
"enumCommands": [
{
"command": "sendEvent(alarmSystemStatus,off)",
"value": "off"
},
{
"command": "sendEvent(alarmSystemStatus,stay)",
"value": "stay"
},
{
"command": "sendEvent(alarmSystemStatus,away)",
"value": "away"
}
]
}
},
"commands": {
"sendEvent(alarmSystemStatus,off)": {
"arguments": []
},
"sendEvent(alarmSystemStatus,stay)": {
"arguments": []
},
"sendEvent(alarmSystemStatus,away)": {
"arguments": []
}
}
}
{
"id": "securitySystem",
"version": 1,
"status": "live",
"name": "Security System",
"attributes": {
"securitySystemStatus": {
"schema": {
"type": "object",
"properties": {
"value": {
"type": "string",
"enum": [
"armedAway",
"armedStay",
"disarmed"
]
}
},
"additionalProperties": false,
"required": [
"value"
]
},
"enumCommands": [
{
"command": "armStay",
"value": "armedStay"
},
{
"command": "armAway",
"value": "armedAway"
},
{
"command": "disarm",
"value": "disarmed"
}
]
},
"alarm": {
"schema": {
"type": "object",
"properties": {
"value": {
"title": "String",
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false,
"required": [
"value"
]
},
"enumCommands": []
}
},
"commands": {
"armStay": {
"arguments": [
{
"name": "bypassAll",
"optional": false,
"schema": {
"type": "boolean"
}
}
]
},
"armAway": {
"arguments": [
{
"name": "bypassAll",
"optional": false,
"schema": {
"type": "boolean"
}
}
]
},
"disarm": {
"arguments": []
}
}
}
{
"id": "locationMode",
"version": 1,
"status": "live",
"name": "Location Mode",
"attributes": {
"mode": {
"schema": {
"type": "object",
"properties": {
"value": {
"title": "String",
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false,
"required": [
"value"
]
},
"setter": "setMode",
"enumCommands": []
}
},
"commands": {
"setMode": {
"arguments": [
{
"name": "mode",
"optional": false,
"schema": {
"title": "String",
"type": "string",
"maxLength": 255
}
}
]
}
}
}