Skip to content

Commit e0671d9

Browse files
Update capabilities (#8)
Co-authored-by: joostlek <7083755+joostlek@users.noreply.github.com>
1 parent 376a67a commit e0671d9

38 files changed

+970
-0
lines changed

json/custom/custom.outingMode.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"id": "custom.outingMode",
3+
"version": 1,
4+
"status": "proposed",
5+
"name": "Outing Mode",
6+
"ephemeral": false,
7+
"attributes": {
8+
"outingMode": {
9+
"schema": {
10+
"type": "object",
11+
"properties": { "value": { "type": "string", "enum": ["on", "off"] } },
12+
"additionalProperties": false,
13+
"required": ["value"]
14+
},
15+
"enumCommands": []
16+
}
17+
},
18+
"commands": {
19+
"setOutingMode": {
20+
"name": "setOutingMode",
21+
"arguments": [
22+
{
23+
"name": "mode",
24+
"optional": false,
25+
"schema": { "type": "string", "enum": ["on", "off"] }
26+
}
27+
]
28+
}
29+
}
30+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"id": "partyvoice23922.createhttpdev2b",
3+
"version": 1,
4+
"status": "proposed",
5+
"name": "createhttpdev2b",
6+
"ephemeral": false,
7+
"attributes": {
8+
"deviceType": {
9+
"schema": {
10+
"type": "object",
11+
"properties": { "value": { "type": "string", "maxLength": 20 } },
12+
"additionalProperties": false,
13+
"required": ["value"]
14+
},
15+
"setter": "setDeviceType",
16+
"enumCommands": []
17+
}
18+
},
19+
"commands": {
20+
"setDeviceType": {
21+
"name": "setDeviceType",
22+
"arguments": [
23+
{
24+
"name": "value",
25+
"optional": false,
26+
"schema": { "type": "string", "maxLength": 20 }
27+
}
28+
]
29+
}
30+
}
31+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"id": "partyvoice23922.createmqttdev9",
3+
"version": 1,
4+
"status": "proposed",
5+
"name": "createmqttdev9",
6+
"ephemeral": false,
7+
"attributes": {
8+
"deviceType": {
9+
"schema": {
10+
"type": "object",
11+
"properties": { "value": { "type": "string", "maxLength": 20 } },
12+
"additionalProperties": false,
13+
"required": ["value"]
14+
},
15+
"setter": "setDeviceType",
16+
"enumCommands": []
17+
}
18+
},
19+
"commands": {
20+
"setDeviceType": {
21+
"name": "setDeviceType",
22+
"arguments": [
23+
{
24+
"name": "value",
25+
"optional": false,
26+
"schema": { "type": "string", "maxLength": 20 }
27+
}
28+
]
29+
}
30+
}
31+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"id": "partyvoice23922.httpcode",
3+
"version": 1,
4+
"status": "proposed",
5+
"name": "httpcode",
6+
"ephemeral": false,
7+
"attributes": {
8+
"httpcode": {
9+
"schema": {
10+
"type": "object",
11+
"properties": { "value": { "type": "string" } },
12+
"additionalProperties": false,
13+
"required": ["value"]
14+
},
15+
"enumCommands": []
16+
}
17+
},
18+
"commands": {}
19+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"id": "partyvoice23922.httpresponse",
3+
"version": 1,
4+
"status": "proposed",
5+
"name": "httpresponse",
6+
"ephemeral": false,
7+
"attributes": {
8+
"response": {
9+
"schema": {
10+
"type": "object",
11+
"properties": { "value": { "type": "string" } },
12+
"additionalProperties": false,
13+
"required": ["value"]
14+
},
15+
"enumCommands": []
16+
}
17+
},
18+
"commands": {}
19+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"id": "partyvoice23922.mqttpublish",
3+
"version": 1,
4+
"status": "proposed",
5+
"name": "mqttpublish",
6+
"ephemeral": false,
7+
"attributes": {},
8+
"commands": {
9+
"publish": {
10+
"name": "publish",
11+
"arguments": [
12+
{ "name": "topic", "optional": false, "schema": { "type": "string" } },
13+
{ "name": "message", "optional": true, "schema": { "type": "string" } },
14+
{
15+
"name": "qos",
16+
"optional": true,
17+
"schema": { "type": "integer", "minimum": 0, "maximum": 2 }
18+
}
19+
]
20+
}
21+
}
22+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"id": "partyvoice23922.onvifinfo",
3+
"version": 1,
4+
"status": "proposed",
5+
"name": "onvifinfo",
6+
"ephemeral": false,
7+
"attributes": {
8+
"info": {
9+
"schema": {
10+
"type": "object",
11+
"properties": { "value": { "type": "string" } },
12+
"additionalProperties": false,
13+
"required": ["value"]
14+
},
15+
"enumCommands": []
16+
}
17+
},
18+
"commands": {}
19+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"id": "partyvoice23922.onvifstatus",
3+
"version": 1,
4+
"status": "proposed",
5+
"name": "onvifstatus",
6+
"ephemeral": false,
7+
"attributes": {
8+
"status": {
9+
"schema": {
10+
"type": "object",
11+
"properties": { "value": { "type": "string" } },
12+
"additionalProperties": false,
13+
"required": ["value"]
14+
},
15+
"enumCommands": []
16+
}
17+
},
18+
"commands": {}
19+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"id": "partyvoice23922.refresh",
3+
"version": 1,
4+
"status": "proposed",
5+
"name": "refresh",
6+
"ephemeral": false,
7+
"attributes": {},
8+
"commands": { "push": { "name": "push", "arguments": [] } }
9+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"id": "partyvoice23922.status",
3+
"version": 1,
4+
"status": "proposed",
5+
"name": "status",
6+
"ephemeral": false,
7+
"attributes": {
8+
"status": {
9+
"schema": {
10+
"type": "object",
11+
"properties": { "value": { "type": "string" } },
12+
"additionalProperties": false,
13+
"required": ["value"]
14+
},
15+
"enumCommands": []
16+
}
17+
},
18+
"commands": {}
19+
}

0 commit comments

Comments
 (0)