@thecloudseeker/homebridge-skoda 0.1.0 → 0.1.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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.1
4
+
5
+ - **Fixed:** the Homebridge UI stored the sections of the vehicle form (commands, home location, polling, features) as separate vehicle entries without VIN and key. All fields of a vehicle now stay in one entry. If you saved the config with 0.1.0, remove the extra entries or add the vehicle again.
6
+
3
7
  ## 0.1.0
4
8
 
5
9
  First release, for the official MyŠkoda Public API (contract 1.1.0).
@@ -201,73 +201,87 @@
201
201
  "orderable": false,
202
202
  "buttonText": "Add vehicle",
203
203
  "items": [
204
- "vehicles[].name",
205
- "vehicles[].vin",
206
- { "key": "vehicles[].token", "type": "password" },
207
204
  {
208
- "type": "fieldset",
209
- "title": "Commands",
210
- "expandable": true,
211
- "expanded": false,
212
- "items": [
213
- { "key": "vehicles[].commandToken", "type": "password" },
214
- { "key": "vehicles[].spin", "type": "password" },
215
- "vehicles[].commandRefreshDelaySeconds",
216
- "vehicles[].climateTemperature",
217
- "vehicles[].airConditioningWithoutExternalPower",
218
- "vehicles[].auxiliaryHeatingDurationMinutes"
219
- ]
220
- },
221
- {
222
- "type": "fieldset",
223
- "title": "Home location",
224
- "description": "Used for the \"Home\" occupancy sensor.",
225
- "expandable": true,
226
- "expanded": false,
205
+ "type": "section",
227
206
  "items": [
207
+ "vehicles[].name",
208
+ "vehicles[].vin",
209
+ {
210
+ "key": "vehicles[].token",
211
+ "type": "password"
212
+ },
213
+ {
214
+ "type": "fieldset",
215
+ "title": "Commands",
216
+ "expandable": true,
217
+ "expanded": false,
218
+ "items": [
219
+ {
220
+ "key": "vehicles[].commandToken",
221
+ "type": "password"
222
+ },
223
+ {
224
+ "key": "vehicles[].spin",
225
+ "type": "password"
226
+ },
227
+ "vehicles[].commandRefreshDelaySeconds",
228
+ "vehicles[].climateTemperature",
229
+ "vehicles[].airConditioningWithoutExternalPower",
230
+ "vehicles[].auxiliaryHeatingDurationMinutes"
231
+ ]
232
+ },
233
+ {
234
+ "type": "fieldset",
235
+ "title": "Home location",
236
+ "description": "Used for the \"Home\" occupancy sensor.",
237
+ "expandable": true,
238
+ "expanded": false,
239
+ "items": [
240
+ {
241
+ "type": "flex",
242
+ "flex-flow": "row wrap",
243
+ "items": [
244
+ "vehicles[].home.lat",
245
+ "vehicles[].home.lon",
246
+ "vehicles[].home.radiusMeters"
247
+ ]
248
+ }
249
+ ]
250
+ },
251
+ {
252
+ "type": "fieldset",
253
+ "title": "Polling",
254
+ "expandable": true,
255
+ "expanded": false,
256
+ "items": [
257
+ "vehicles[].pollingIntervalMinutes",
258
+ "vehicles[].lowBatteryThreshold"
259
+ ]
260
+ },
228
261
  {
229
- "type": "flex",
230
- "flex-flow": "row wrap",
262
+ "type": "fieldset",
263
+ "title": "Features",
264
+ "description": "Services are only created if the vehicle supports them.",
265
+ "expandable": true,
266
+ "expanded": false,
231
267
  "items": [
232
- "vehicles[].home.lat",
233
- "vehicles[].home.lon",
234
- "vehicles[].home.radiusMeters"
268
+ "vehicles[].features.battery",
269
+ "vehicles[].features.stateOfChargeSensor",
270
+ "vehicles[].features.charging",
271
+ "vehicles[].features.chargingLimit",
272
+ "vehicles[].features.climate",
273
+ "vehicles[].features.auxiliaryHeating",
274
+ "vehicles[].features.activeVentilation",
275
+ "vehicles[].features.presence",
276
+ "vehicles[].features.doors",
277
+ "vehicles[].features.windows",
278
+ "vehicles[].features.trunk",
279
+ "vehicles[].features.bonnet",
280
+ "vehicles[].features.sunroof",
281
+ "vehicles[].features.lock"
235
282
  ]
236
283
  }
237
284
  ]
238
- },
239
- {
240
- "type": "fieldset",
241
- "title": "Polling",
242
- "expandable": true,
243
- "expanded": false,
244
- "items": [
245
- "vehicles[].pollingIntervalMinutes",
246
- "vehicles[].lowBatteryThreshold"
247
- ]
248
- },
249
- {
250
- "type": "fieldset",
251
- "title": "Features",
252
- "description": "Services are only created if the vehicle supports them.",
253
- "expandable": true,
254
- "expanded": false,
255
- "items": [
256
- "vehicles[].features.battery",
257
- "vehicles[].features.stateOfChargeSensor",
258
- "vehicles[].features.charging",
259
- "vehicles[].features.chargingLimit",
260
- "vehicles[].features.climate",
261
- "vehicles[].features.auxiliaryHeating",
262
- "vehicles[].features.activeVentilation",
263
- "vehicles[].features.presence",
264
- "vehicles[].features.doors",
265
- "vehicles[].features.windows",
266
- "vehicles[].features.trunk",
267
- "vehicles[].features.bonnet",
268
- "vehicles[].features.sunroof",
269
- "vehicles[].features.lock"
270
- ]
271
285
  }
272
286
  ]
273
287
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@thecloudseeker/homebridge-skoda",
3
3
  "displayName": "Homebridge Škoda",
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "description": "Homebridge plugin for Škoda vehicles using the official MyŠkoda Public API.",
6
6
  "author": "thecloudseeker",
7
7
  "license": "BSD-3-Clause",