homebridge-ac-freedom 1.2.1 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -1
- package/config.schema.json +68 -53
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.2.3
|
|
4
|
+
|
|
5
|
+
- Revert to section+expandable layout (per-device collapse/expand)
|
|
6
|
+
- Fix floating popup bug — replace `oneOf` dropdowns with `enum` + `titleMap`
|
|
7
|
+
- Rename switch labels: "Comfortable Wind", "Display"
|
|
8
|
+
|
|
9
|
+
## 1.2.2
|
|
10
|
+
|
|
11
|
+
- Remove unused `changelog` field from config.schema.json
|
|
12
|
+
|
|
3
13
|
## 1.2.1
|
|
4
14
|
|
|
5
15
|
- Fix floating popup bug — switch from `section` to `tabarray` layout for devices
|
|
6
16
|
- Rename "Show Comfortable Wind Switch" → "Comfortable Wind"
|
|
7
17
|
- Rename "Show Display Switch" → "Display"
|
|
8
|
-
- Add changelog visibility in Homebridge UI
|
|
9
18
|
|
|
10
19
|
## 1.2.0
|
|
11
20
|
|
package/config.schema.json
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"pluginType": "platform",
|
|
4
4
|
"singular": false,
|
|
5
5
|
"headerDisplay": "AUX Air Conditioner control via Broadlink (local) or AUX Cloud API.",
|
|
6
|
-
"changelog": "CHANGELOG.md",
|
|
7
6
|
"schema": {
|
|
8
7
|
"type": "object",
|
|
9
8
|
"required": ["name"],
|
|
@@ -29,10 +28,7 @@
|
|
|
29
28
|
"title": "Connection Mode",
|
|
30
29
|
"type": "string",
|
|
31
30
|
"default": "cloud",
|
|
32
|
-
"
|
|
33
|
-
{ "title": "Cloud (AUX Cloud API)", "enum": ["cloud"] },
|
|
34
|
-
{ "title": "Local (Broadlink UDP)", "enum": ["local"] }
|
|
35
|
-
]
|
|
31
|
+
"enum": ["cloud", "local"]
|
|
36
32
|
},
|
|
37
33
|
"cloud": {
|
|
38
34
|
"type": "object",
|
|
@@ -49,12 +45,7 @@
|
|
|
49
45
|
"title": "Region",
|
|
50
46
|
"type": "string",
|
|
51
47
|
"default": "eu",
|
|
52
|
-
"
|
|
53
|
-
{ "title": "Europe", "enum": ["eu"] },
|
|
54
|
-
{ "title": "USA", "enum": ["usa"] },
|
|
55
|
-
{ "title": "China", "enum": ["cn"] },
|
|
56
|
-
{ "title": "Russia", "enum": ["rus"] }
|
|
57
|
-
]
|
|
48
|
+
"enum": ["eu", "usa", "cn", "rus"]
|
|
58
49
|
},
|
|
59
50
|
"deviceId": {
|
|
60
51
|
"title": "Device ID (endpointId, leave empty for auto-detect)",
|
|
@@ -105,10 +96,7 @@
|
|
|
105
96
|
"title": "Temperature Step",
|
|
106
97
|
"type": "number",
|
|
107
98
|
"default": 0.5,
|
|
108
|
-
"
|
|
109
|
-
{ "title": "0.5 °C", "enum": [0.5] },
|
|
110
|
-
{ "title": "1 °C", "enum": [1] }
|
|
111
|
-
]
|
|
99
|
+
"enum": [0.5, 1]
|
|
112
100
|
}
|
|
113
101
|
}
|
|
114
102
|
}
|
|
@@ -119,49 +107,76 @@
|
|
|
119
107
|
{ "key": "name" },
|
|
120
108
|
{
|
|
121
109
|
"key": "devices",
|
|
122
|
-
"type": "
|
|
123
|
-
"title": "{{ value.name || 'New Device' }}",
|
|
110
|
+
"type": "array",
|
|
124
111
|
"buttonText": "Add Device",
|
|
125
112
|
"items": [
|
|
126
|
-
{ "key": "devices[].name" },
|
|
127
|
-
{ "key": "devices[].connection" },
|
|
128
|
-
{
|
|
129
|
-
"key": "devices[].cloud",
|
|
130
|
-
"type": "fieldset",
|
|
131
|
-
"title": "Cloud Settings",
|
|
132
|
-
"condition": { "functionBody": "return model.devices[arrayIndices[0]].connection === 'cloud';" },
|
|
133
|
-
"items": [
|
|
134
|
-
{ "key": "devices[].cloud.email" },
|
|
135
|
-
{ "key": "devices[].cloud.password" },
|
|
136
|
-
{ "key": "devices[].cloud.region" },
|
|
137
|
-
{ "key": "devices[].cloud.deviceId" }
|
|
138
|
-
]
|
|
139
|
-
},
|
|
140
113
|
{
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
114
|
+
"type": "section",
|
|
115
|
+
"expandable": true,
|
|
116
|
+
"expanded": false,
|
|
117
|
+
"title": "{{ value.name || 'New Device' }}",
|
|
145
118
|
"items": [
|
|
146
|
-
{ "key": "devices[].
|
|
147
|
-
{
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
119
|
+
{ "key": "devices[].name" },
|
|
120
|
+
{
|
|
121
|
+
"key": "devices[].connection",
|
|
122
|
+
"titleMap": {
|
|
123
|
+
"cloud": "Cloud (AUX Cloud API)",
|
|
124
|
+
"local": "Local (Broadlink UDP)"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"key": "devices[].cloud",
|
|
129
|
+
"type": "fieldset",
|
|
130
|
+
"title": "Cloud Settings",
|
|
131
|
+
"condition": { "functionBody": "return model.devices[arrayIndices[0]].connection === 'cloud';" },
|
|
132
|
+
"items": [
|
|
133
|
+
{ "key": "devices[].cloud.email" },
|
|
134
|
+
{ "key": "devices[].cloud.password" },
|
|
135
|
+
{
|
|
136
|
+
"key": "devices[].cloud.region",
|
|
137
|
+
"titleMap": {
|
|
138
|
+
"eu": "Europe",
|
|
139
|
+
"usa": "USA",
|
|
140
|
+
"cn": "China",
|
|
141
|
+
"rus": "Russia"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
{ "key": "devices[].cloud.deviceId" }
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"key": "devices[].local",
|
|
149
|
+
"type": "fieldset",
|
|
150
|
+
"title": "Local Settings",
|
|
151
|
+
"condition": { "functionBody": "return model.devices[arrayIndices[0]].connection === 'local';" },
|
|
152
|
+
"items": [
|
|
153
|
+
{ "key": "devices[].local.ip" },
|
|
154
|
+
{ "key": "devices[].local.mac" }
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"key": "devices[].presets",
|
|
159
|
+
"type": "fieldset",
|
|
160
|
+
"title": "Preset Modes",
|
|
161
|
+
"items": [
|
|
162
|
+
{ "key": "devices[].presets.sleep" },
|
|
163
|
+
{ "key": "devices[].presets.health" },
|
|
164
|
+
{ "key": "devices[].presets.eco" },
|
|
165
|
+
{ "key": "devices[].presets.clean" }
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
{ "key": "devices[].showComfWind" },
|
|
169
|
+
{ "key": "devices[].showDisplay" },
|
|
170
|
+
{ "key": "devices[].pollInterval" },
|
|
171
|
+
{
|
|
172
|
+
"key": "devices[].tempStep",
|
|
173
|
+
"titleMap": {
|
|
174
|
+
"0.5": "0.5 °C",
|
|
175
|
+
"1": "1 °C"
|
|
176
|
+
}
|
|
177
|
+
}
|
|
159
178
|
]
|
|
160
|
-
}
|
|
161
|
-
{ "key": "devices[].showComfWind" },
|
|
162
|
-
{ "key": "devices[].showDisplay" },
|
|
163
|
-
{ "key": "devices[].pollInterval" },
|
|
164
|
-
{ "key": "devices[].tempStep" }
|
|
179
|
+
}
|
|
165
180
|
]
|
|
166
181
|
}
|
|
167
182
|
]
|
package/package.json
CHANGED