homebridge-ac-freedom 1.2.0 → 1.2.2

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