homebridge-ac-freedom 1.2.0 → 1.2.1
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 +15 -0
- package/config.schema.json +41 -47
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.2.1
|
|
4
|
+
|
|
5
|
+
- Fix floating popup bug — switch from `section` to `tabarray` layout for devices
|
|
6
|
+
- Rename "Show Comfortable Wind Switch" → "Comfortable Wind"
|
|
7
|
+
- Rename "Show Display Switch" → "Display"
|
|
8
|
+
- Add changelog visibility in Homebridge UI
|
|
9
|
+
|
|
10
|
+
## 1.2.0
|
|
11
|
+
|
|
12
|
+
- Revert to 1.1.8 config UI layout
|
|
13
|
+
|
|
14
|
+
## 1.1.9
|
|
15
|
+
|
|
16
|
+
- Attempt fix for floating popup — move expandable to array level (reverted)
|
|
17
|
+
|
|
3
18
|
## 1.1.8
|
|
4
19
|
|
|
5
20
|
- Fix duplicate field rendering in config UI — add `key` to layout fieldsets so nested objects are properly claimed
|
package/config.schema.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
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",
|
|
6
7
|
"schema": {
|
|
7
8
|
"type": "object",
|
|
8
9
|
"required": ["name"],
|
|
@@ -84,12 +85,12 @@
|
|
|
84
85
|
}
|
|
85
86
|
},
|
|
86
87
|
"showComfWind": {
|
|
87
|
-
"title": "
|
|
88
|
+
"title": "Comfortable Wind",
|
|
88
89
|
"type": "boolean",
|
|
89
90
|
"default": true
|
|
90
91
|
},
|
|
91
92
|
"showDisplay": {
|
|
92
|
-
"title": "
|
|
93
|
+
"title": "Display",
|
|
93
94
|
"type": "boolean",
|
|
94
95
|
"default": true
|
|
95
96
|
},
|
|
@@ -118,56 +119,49 @@
|
|
|
118
119
|
{ "key": "name" },
|
|
119
120
|
{
|
|
120
121
|
"key": "devices",
|
|
121
|
-
"type": "
|
|
122
|
+
"type": "tabarray",
|
|
123
|
+
"title": "{{ value.name || 'New Device' }}",
|
|
122
124
|
"buttonText": "Add Device",
|
|
123
125
|
"items": [
|
|
126
|
+
{ "key": "devices[].name" },
|
|
127
|
+
{ "key": "devices[].connection" },
|
|
124
128
|
{
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
+
"key": "devices[].cloud",
|
|
130
|
+
"type": "fieldset",
|
|
131
|
+
"title": "Cloud Settings",
|
|
132
|
+
"condition": { "functionBody": "return model.devices[arrayIndices[0]].connection === 'cloud';" },
|
|
129
133
|
"items": [
|
|
130
|
-
{ "key": "devices[].
|
|
131
|
-
{ "key": "devices[].
|
|
132
|
-
{
|
|
133
|
-
|
|
134
|
-
"type": "fieldset",
|
|
135
|
-
"title": "Cloud Settings",
|
|
136
|
-
"condition": { "functionBody": "return model.devices[arrayIndices[0]].connection === 'cloud';" },
|
|
137
|
-
"items": [
|
|
138
|
-
{ "key": "devices[].cloud.email" },
|
|
139
|
-
{ "key": "devices[].cloud.password" },
|
|
140
|
-
{ "key": "devices[].cloud.region" },
|
|
141
|
-
{ "key": "devices[].cloud.deviceId" }
|
|
142
|
-
]
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"key": "devices[].local",
|
|
146
|
-
"type": "fieldset",
|
|
147
|
-
"title": "Local Settings",
|
|
148
|
-
"condition": { "functionBody": "return model.devices[arrayIndices[0]].connection === 'local';" },
|
|
149
|
-
"items": [
|
|
150
|
-
{ "key": "devices[].local.ip" },
|
|
151
|
-
{ "key": "devices[].local.mac" }
|
|
152
|
-
]
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"key": "devices[].presets",
|
|
156
|
-
"type": "fieldset",
|
|
157
|
-
"title": "Preset Modes",
|
|
158
|
-
"items": [
|
|
159
|
-
{ "key": "devices[].presets.sleep" },
|
|
160
|
-
{ "key": "devices[].presets.health" },
|
|
161
|
-
{ "key": "devices[].presets.eco" },
|
|
162
|
-
{ "key": "devices[].presets.clean" }
|
|
163
|
-
]
|
|
164
|
-
},
|
|
165
|
-
{ "key": "devices[].showComfWind" },
|
|
166
|
-
{ "key": "devices[].showDisplay" },
|
|
167
|
-
{ "key": "devices[].pollInterval" },
|
|
168
|
-
{ "key": "devices[].tempStep" }
|
|
134
|
+
{ "key": "devices[].cloud.email" },
|
|
135
|
+
{ "key": "devices[].cloud.password" },
|
|
136
|
+
{ "key": "devices[].cloud.region" },
|
|
137
|
+
{ "key": "devices[].cloud.deviceId" }
|
|
169
138
|
]
|
|
170
|
-
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"key": "devices[].local",
|
|
142
|
+
"type": "fieldset",
|
|
143
|
+
"title": "Local Settings",
|
|
144
|
+
"condition": { "functionBody": "return model.devices[arrayIndices[0]].connection === 'local';" },
|
|
145
|
+
"items": [
|
|
146
|
+
{ "key": "devices[].local.ip" },
|
|
147
|
+
{ "key": "devices[].local.mac" }
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"key": "devices[].presets",
|
|
152
|
+
"type": "fieldset",
|
|
153
|
+
"title": "Preset Modes",
|
|
154
|
+
"items": [
|
|
155
|
+
{ "key": "devices[].presets.sleep" },
|
|
156
|
+
{ "key": "devices[].presets.health" },
|
|
157
|
+
{ "key": "devices[].presets.eco" },
|
|
158
|
+
{ "key": "devices[].presets.clean" }
|
|
159
|
+
]
|
|
160
|
+
},
|
|
161
|
+
{ "key": "devices[].showComfWind" },
|
|
162
|
+
{ "key": "devices[].showDisplay" },
|
|
163
|
+
{ "key": "devices[].pollInterval" },
|
|
164
|
+
{ "key": "devices[].tempStep" }
|
|
171
165
|
]
|
|
172
166
|
}
|
|
173
167
|
]
|
package/package.json
CHANGED