This repository has been archived by the owner on Nov 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
config.schema.json
63 lines (63 loc) · 1.64 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
60
61
62
63
{
"pluginAlias":"SMAInverter",
"pluginType":"accessory",
"singular":true,
"headerDisplay":null,
"schema":{
"type":"object",
"properties":{
"name":{
"title":"Accessory Name",
"type":"string",
"format":"string",
"default":"SMA Inverter",
"description":"The name of your device to show in the Home app",
"minLength": 1,
"required": true
},
"hostname":{
"title":"SMA Inverter Hostname",
"type":"string",
"format":"string",
"description":"The hostname of your device (e.g. sma1992XXXXXX.local) or the IP address (e.g. 192.168.1.32)",
"minLength": 1,
"required": true
},
"debug":{
"title":"Debug logging",
"type":"boolean",
"description":"Turns on additional logging (can be helpful for diagnosing issues)"
},
"refreshInterval":{
"title":"Refresh interval (minutes)",
"type":"integer",
"default": 1
}
}
},
"layout":[
{
"type":"flex",
"flex-flow":"row wrap",
"items":[
{
"key":"name",
"type":"string"
},
{
"key":"hostname",
"type":"string"
}
]
},
{
"type":"fieldset",
"title":"Advanced configuration",
"expandable":true,
"items":[
"debug",
"refreshInterval"
]
}
]
}