-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.schema.json
40 lines (40 loc) · 1.58 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
{
"pluginAlias": "DysonBP01",
"pluginType": "accessory",
"headerDisplay": "For instructions on how to set up your BroadLink RM and Dyson BP01, [follow these instructions](https://github.com/jeremynoesen/homebridge-dyson-bp01#hardware-setup).",
"singular": false,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"default": "Dyson Pure Cool Me",
"description": "Enter a name for the accessory. Changing this later will require you to set up the fan again using the instructions above.",
"required": true
},
"serialNumber": {
"title": "Serial Number",
"type": "string",
"placeholder": "XXX-XX-XXXXXXXX",
"pattern": "^([A-Za-z0-9]{3})-([A-Za-z]{2})-([A-Za-z0-9]{8})$",
"description": "Enter the serial number of your Dyson BP01 to display it as part of the accessory information. Leave this blank to use a placeholder.",
"required": false
},
"macAddress": {
"title": "MAC Address",
"type": "string",
"placeholder": "XX:XX:XX:XX:XX:XX",
"pattern": "^([A-Fa-f0-9]{2}:){5}[A-Fa-f0-9]{2}$",
"description": "Enter the MAC address of the BroadLink RM you want to use. Leave this blank for automatic discovery.",
"required": false
},
"exposeSensors": {
"title": "Expose Sensors",
"type": "boolean",
"description": "Check this to expose temperature and humidity sensors if you have the sensor cable for your BroadLink RM.",
"required": false
}
}
}
}