forked from georg90/pimatic-max-thermostat
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdevice-config-schema.coffee
executable file
·66 lines (66 loc) · 1.8 KB
/
device-config-schema.coffee
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
64
65
66
module.exports = {
title: "max-thermostat device config schemas"
MaxHeatingThermostat: {
title: "MaxHeatingThermostat config options"
extensions: ["xAttributeOptions"]
type: "object"
properties:
rfAddress:
description: "The Device RF address"
type: "string"
default: ""
comfyTemp:
description: "The defined comfy temperature"
type: "number"
default: 21
ecoTemp:
description: "The defined eco mode temperature"
type: "number"
default: 17
vacTemp:
description: "The defined vacation mode temperature"
type: "number"
default: 14
guiShowModeControl:
description: "Show the mode buttons in the gui"
type: "boolean"
default: true
guiShowPresetControl:
description: "Show the preset temperatures in the gui"
type: "boolean"
default: true
guiShowTemperatureInput:
description: "Show the temperature input spinbox in the gui"
type: "boolean"
default: true
guiShowValvePosition:
description: "Show the valve position in the gui"
type: "boolean"
default: true
}
MaxContactSensor: {
title: "MaxContactSensor config options"
extensions: ["xClosedLabel", "xOpenedLabel", "xAttributeOptions"]
type: "object"
properties:
rfAddress:
description: "The Device RF address"
type: "string"
default: ""
}
MaxWallThermostat: {
title: "MaxWallThermostat config options"
extensions: ["xAttributeOptions"]
type: "object"
properties:
rfAddress:
description: "The Device RF address"
type: "string"
default: ""
}
MaxCube: {
title: "MaxCube config options"
type: "object"
properties: {}
}
}