generated from homebridge/homebridge-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.json
59 lines (59 loc) · 1.65 KB
/
config.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"pluginAlias": "EufyRobovacHomebridgePlugin",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"description": "Arbitrary name for your Eufy Robovac",
"type": "string",
"required": true,
"default": "Eufy Robovac"
},
"ip": {
"title": "IP Address",
"description": "IP Address of your Eufy Robovac",
"type": "string",
"required": true,
"placeholder": "10.0.1.69"
},
"deviceId": {
"title": "Tuya Device ID",
"description": "Tuya/Eufy Device ID (see: https://github.com/gtalusan/eufy-device-id-js)",
"type": "string",
"required": true
},
"deviceKey": {
"title": "Tuya Device Key",
"description": "Tuya/Eufy Device/Local Key (see: https://github.com/gtalusan/eufy-device-id-js)",
"type": "string",
"required": true
},
"roomSwitches": {
"description": "Per-Room Switches",
"type": "array",
"items": {
"title": "Switch",
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"placeholder": "Arbitrary name for this switch",
"required": true
},
"rooms": {
"title": "Rooms",
"type": "string",
"placeholder": "A room number or comma-separated list of room numbers",
"pattern": "^[0-9]+(,[0-9]+)*$",
"required": true
}
}
}
}
}
}
}