@homebridge-plugins/homebridge-ecovacs 8.2.0-beta.2 → 8.2.0-beta.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 +1 -0
- package/config.schema.json +2 -34
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,7 @@ All notable changes to `@homebridge-plugins/homebridge-ecovacs` will be document
|
|
|
9
9
|
- feat(ui): add, remove and hide devices from the config via the my devices tab
|
|
10
10
|
- style(ui): standardise the custom ui layout and sync the support tab with the readme
|
|
11
11
|
- feat(ui): add a remove all devices action to the my devices tab
|
|
12
|
+
- fix(schema): declare required fields the standard way so the homebridge ui stops reporting a config validation failure
|
|
12
13
|
|
|
13
14
|
## v8.1.4 (2026-07-19)
|
|
14
15
|
|
package/config.schema.json
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"headerDisplay": "<p align=\"center\"><img width=\"250px\" src=\"https://raw.githubusercontent.com/homebridge-plugins/homebridge-ecovacs/latest/branding/Homebridge_x_Ecovacs.png\"></p><p align=\"center\">For help and support please visit our <a href=\"https://github.com/homebridge-plugins/homebridge-ecovacs/wiki\">GitHub Wiki</a>. We hope you find this plugin useful!</p>",
|
|
9
9
|
"schema": {
|
|
10
10
|
"type": "object",
|
|
11
|
+
"required": ["countryCode", "username", "password"],
|
|
11
12
|
"properties": {
|
|
12
13
|
"name": {
|
|
13
14
|
"title": "Plugin Name",
|
|
@@ -22,18 +23,15 @@
|
|
|
22
23
|
"countryCode": {
|
|
23
24
|
"title": "Country Code",
|
|
24
25
|
"description": "Two-letter country code which you can find <a href=\"https://github.com/homebridge-plugins/homebridge-ecovacs/wiki/Country-Codes\" target=\"_blank\">here</a>.",
|
|
25
|
-
"type": "string"
|
|
26
|
-
"required": true
|
|
26
|
+
"type": "string"
|
|
27
27
|
},
|
|
28
28
|
"username": {
|
|
29
29
|
"title": "Ecovacs/Yeedi Username",
|
|
30
|
-
"required": true,
|
|
31
30
|
"type": "string",
|
|
32
31
|
"description": "Your username, if your account is based in China you should use your Ecovacs ID."
|
|
33
32
|
},
|
|
34
33
|
"password": {
|
|
35
34
|
"title": "Ecovacs/Yeedi Password",
|
|
36
|
-
"required": true,
|
|
37
35
|
"type": "string",
|
|
38
36
|
"description": "Your password, can also be a base64 encoded version of your password."
|
|
39
37
|
},
|
|
@@ -177,7 +175,6 @@
|
|
|
177
175
|
"spotAreaIDs1": {
|
|
178
176
|
"title": "Spot Area ID(s)",
|
|
179
177
|
"type": "string",
|
|
180
|
-
"required": true,
|
|
181
178
|
"description": "Enter a spot area ID or multiple IDs separated by a comma.",
|
|
182
179
|
"pattern": "^([0-9]|[1-9][0-9]+|(([0-9],|[1-9][0-9]+,)+([0-9]|[1-9][0-9]+)))$",
|
|
183
180
|
"condition": {
|
|
@@ -187,7 +184,6 @@
|
|
|
187
184
|
"customAreaCoordinates1": {
|
|
188
185
|
"title": "Custom Area Coordinates",
|
|
189
186
|
"type": "string",
|
|
190
|
-
"required": true,
|
|
191
187
|
"description": "Enter custom area coordinates in the format 'x1,y1,x2,y2' (decimals separated by '.' and without the inverted comma).",
|
|
192
188
|
"pattern": "^((0|-?[1-9][0-9]*)(\\.[0-9]+)?,){3}(0|-?[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
193
189
|
"condition": {
|
|
@@ -223,7 +219,6 @@
|
|
|
223
219
|
"spotAreaIDs2": {
|
|
224
220
|
"title": "Spot Area ID(s)",
|
|
225
221
|
"type": "string",
|
|
226
|
-
"required": true,
|
|
227
222
|
"description": "Enter a spot area ID or multiple IDs separated by a comma.",
|
|
228
223
|
"pattern": "^([0-9]|[1-9][0-9]+|(([0-9],|[1-9][0-9]+,)+([0-9]|[1-9][0-9]+)))$",
|
|
229
224
|
"condition": {
|
|
@@ -233,7 +228,6 @@
|
|
|
233
228
|
"customAreaCoordinates2": {
|
|
234
229
|
"title": "Custom Area Coordinates",
|
|
235
230
|
"type": "string",
|
|
236
|
-
"required": true,
|
|
237
231
|
"description": "Enter custom area coordinates in the format 'x1,y1,x2,y2' (decimals separated by '.' and without the inverted comma).",
|
|
238
232
|
"pattern": "^((0|-?[1-9][0-9]*)(\\.[0-9]+)?,){3}(0|-?[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
239
233
|
"condition": {
|
|
@@ -269,7 +263,6 @@
|
|
|
269
263
|
"spotAreaIDs3": {
|
|
270
264
|
"title": "Spot Area ID(s)",
|
|
271
265
|
"type": "string",
|
|
272
|
-
"required": true,
|
|
273
266
|
"description": "Enter a spot area ID or multiple IDs separated by a comma.",
|
|
274
267
|
"pattern": "^([0-9]|[1-9][0-9]+|(([0-9],|[1-9][0-9]+,)+([0-9]|[1-9][0-9]+)))$",
|
|
275
268
|
"condition": {
|
|
@@ -279,7 +272,6 @@
|
|
|
279
272
|
"customAreaCoordinates3": {
|
|
280
273
|
"title": "Custom Area Coordinates",
|
|
281
274
|
"type": "string",
|
|
282
|
-
"required": true,
|
|
283
275
|
"description": "Enter custom area coordinates in the format 'x1,y1,x2,y2' (decimals separated by '.' and without the inverted comma).",
|
|
284
276
|
"pattern": "^((0|-?[1-9][0-9]*)(\\.[0-9]+)?,){3}(0|-?[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
285
277
|
"condition": {
|
|
@@ -315,7 +307,6 @@
|
|
|
315
307
|
"spotAreaIDs4": {
|
|
316
308
|
"title": "Spot Area ID(s)",
|
|
317
309
|
"type": "string",
|
|
318
|
-
"required": true,
|
|
319
310
|
"description": "Enter a spot area ID or multiple IDs separated by a comma.",
|
|
320
311
|
"pattern": "^([0-9]|[1-9][0-9]+|(([0-9],|[1-9][0-9]+,)+([0-9]|[1-9][0-9]+)))$",
|
|
321
312
|
"condition": {
|
|
@@ -325,7 +316,6 @@
|
|
|
325
316
|
"customAreaCoordinates4": {
|
|
326
317
|
"title": "Custom Area Coordinates",
|
|
327
318
|
"type": "string",
|
|
328
|
-
"required": true,
|
|
329
319
|
"description": "Enter custom area coordinates in the format 'x1,y1,x2,y2' (decimals separated by '.' and without the inverted comma).",
|
|
330
320
|
"pattern": "^((0|-?[1-9][0-9]*)(\\.[0-9]+)?,){3}(0|-?[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
331
321
|
"condition": {
|
|
@@ -361,7 +351,6 @@
|
|
|
361
351
|
"spotAreaIDs5": {
|
|
362
352
|
"title": "Spot Area ID(s)",
|
|
363
353
|
"type": "string",
|
|
364
|
-
"required": true,
|
|
365
354
|
"description": "Enter a spot area ID or multiple IDs separated by a comma.",
|
|
366
355
|
"pattern": "^([0-9]|[1-9][0-9]+|(([0-9],|[1-9][0-9]+,)+([0-9]|[1-9][0-9]+)))$",
|
|
367
356
|
"condition": {
|
|
@@ -371,7 +360,6 @@
|
|
|
371
360
|
"customAreaCoordinates5": {
|
|
372
361
|
"title": "Custom Area Coordinates",
|
|
373
362
|
"type": "string",
|
|
374
|
-
"required": true,
|
|
375
363
|
"description": "Enter custom area coordinates in the format 'x1,y1,x2,y2' (decimals separated by '.' and without the inverted comma).",
|
|
376
364
|
"pattern": "^((0|-?[1-9][0-9]*)(\\.[0-9]+)?,){3}(0|-?[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
377
365
|
"condition": {
|
|
@@ -407,7 +395,6 @@
|
|
|
407
395
|
"spotAreaIDs6": {
|
|
408
396
|
"title": "Spot Area ID(s)",
|
|
409
397
|
"type": "string",
|
|
410
|
-
"required": true,
|
|
411
398
|
"description": "Enter a spot area ID or multiple IDs separated by a comma.",
|
|
412
399
|
"pattern": "^([0-9]|[1-9][0-9]+|(([0-9],|[1-9][0-9]+,)+([0-9]|[1-9][0-9]+)))$",
|
|
413
400
|
"condition": {
|
|
@@ -417,7 +404,6 @@
|
|
|
417
404
|
"customAreaCoordinates6": {
|
|
418
405
|
"title": "Custom Area Coordinates",
|
|
419
406
|
"type": "string",
|
|
420
|
-
"required": true,
|
|
421
407
|
"description": "Enter custom area coordinates in the format 'x1,y1,x2,y2' (decimals separated by '.' and without the inverted comma).",
|
|
422
408
|
"pattern": "^((0|-?[1-9][0-9]*)(\\.[0-9]+)?,){3}(0|-?[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
423
409
|
"condition": {
|
|
@@ -453,7 +439,6 @@
|
|
|
453
439
|
"spotAreaIDs7": {
|
|
454
440
|
"title": "Spot Area ID(s)",
|
|
455
441
|
"type": "string",
|
|
456
|
-
"required": true,
|
|
457
442
|
"description": "Enter a spot area ID or multiple IDs separated by a comma.",
|
|
458
443
|
"pattern": "^([0-9]|[1-9][0-9]+|(([0-9],|[1-9][0-9]+,)+([0-9]|[1-9][0-9]+)))$",
|
|
459
444
|
"condition": {
|
|
@@ -463,7 +448,6 @@
|
|
|
463
448
|
"customAreaCoordinates7": {
|
|
464
449
|
"title": "Custom Area Coordinates",
|
|
465
450
|
"type": "string",
|
|
466
|
-
"required": true,
|
|
467
451
|
"description": "Enter custom area coordinates in the format 'x1,y1,x2,y2' (decimals separated by '.' and without the inverted comma).",
|
|
468
452
|
"pattern": "^((0|-?[1-9][0-9]*)(\\.[0-9]+)?,){3}(0|-?[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
469
453
|
"condition": {
|
|
@@ -499,7 +483,6 @@
|
|
|
499
483
|
"spotAreaIDs8": {
|
|
500
484
|
"title": "Spot Area ID(s)",
|
|
501
485
|
"type": "string",
|
|
502
|
-
"required": true,
|
|
503
486
|
"description": "Enter a spot area ID or multiple IDs separated by a comma.",
|
|
504
487
|
"pattern": "^([0-9]|[1-9][0-9]+|(([0-9],|[1-9][0-9]+,)+([0-9]|[1-9][0-9]+)))$",
|
|
505
488
|
"condition": {
|
|
@@ -509,7 +492,6 @@
|
|
|
509
492
|
"customAreaCoordinates8": {
|
|
510
493
|
"title": "Custom Area Coordinates",
|
|
511
494
|
"type": "string",
|
|
512
|
-
"required": true,
|
|
513
495
|
"description": "Enter custom area coordinates in the format 'x1,y1,x2,y2' (decimals separated by '.' and without the inverted comma).",
|
|
514
496
|
"pattern": "^((0|-?[1-9][0-9]*)(\\.[0-9]+)?,){3}(0|-?[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
515
497
|
"condition": {
|
|
@@ -545,7 +527,6 @@
|
|
|
545
527
|
"spotAreaIDs9": {
|
|
546
528
|
"title": "Spot Area ID(s)",
|
|
547
529
|
"type": "string",
|
|
548
|
-
"required": true,
|
|
549
530
|
"description": "Enter a spot area ID or multiple IDs separated by a comma.",
|
|
550
531
|
"pattern": "^([0-9]|[1-9][0-9]+|(([0-9],|[1-9][0-9]+,)+([0-9]|[1-9][0-9]+)))$",
|
|
551
532
|
"condition": {
|
|
@@ -555,7 +536,6 @@
|
|
|
555
536
|
"customAreaCoordinates9": {
|
|
556
537
|
"title": "Custom Area Coordinates",
|
|
557
538
|
"type": "string",
|
|
558
|
-
"required": true,
|
|
559
539
|
"description": "Enter custom area coordinates in the format 'x1,y1,x2,y2' (decimals separated by '.' and without the inverted comma).",
|
|
560
540
|
"pattern": "^((0|-?[1-9][0-9]*)(\\.[0-9]+)?,){3}(0|-?[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
561
541
|
"condition": {
|
|
@@ -591,7 +571,6 @@
|
|
|
591
571
|
"spotAreaIDs10": {
|
|
592
572
|
"title": "Spot Area ID(s)",
|
|
593
573
|
"type": "string",
|
|
594
|
-
"required": true,
|
|
595
574
|
"description": "Enter a spot area ID or multiple IDs separated by a comma.",
|
|
596
575
|
"pattern": "^([0-9]|[1-9][0-9]+|(([0-9],|[1-9][0-9]+,)+([0-9]|[1-9][0-9]+)))$",
|
|
597
576
|
"condition": {
|
|
@@ -601,7 +580,6 @@
|
|
|
601
580
|
"customAreaCoordinates10": {
|
|
602
581
|
"title": "Custom Area Coordinates",
|
|
603
582
|
"type": "string",
|
|
604
|
-
"required": true,
|
|
605
583
|
"description": "Enter custom area coordinates in the format 'x1,y1,x2,y2' (decimals separated by '.' and without the inverted comma).",
|
|
606
584
|
"pattern": "^((0|-?[1-9][0-9]*)(\\.[0-9]+)?,){3}(0|-?[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
607
585
|
"condition": {
|
|
@@ -637,7 +615,6 @@
|
|
|
637
615
|
"spotAreaIDs11": {
|
|
638
616
|
"title": "Spot Area ID(s)",
|
|
639
617
|
"type": "string",
|
|
640
|
-
"required": true,
|
|
641
618
|
"description": "Enter a spot area ID or multiple IDs separated by a comma.",
|
|
642
619
|
"pattern": "^([0-9]|[1-9][0-9]+|(([0-9],|[1-9][0-9]+,)+([0-9]|[1-9][0-9]+)))$",
|
|
643
620
|
"condition": {
|
|
@@ -647,7 +624,6 @@
|
|
|
647
624
|
"customAreaCoordinates11": {
|
|
648
625
|
"title": "Custom Area Coordinates",
|
|
649
626
|
"type": "string",
|
|
650
|
-
"required": true,
|
|
651
627
|
"description": "Enter custom area coordinates in the format 'x1,y1,x2,y2' (decimals separated by '.' and without the inverted comma).",
|
|
652
628
|
"pattern": "^((0|-?[1-9][0-9]*)(\\.[0-9]+)?,){3}(0|-?[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
653
629
|
"condition": {
|
|
@@ -683,7 +659,6 @@
|
|
|
683
659
|
"spotAreaIDs12": {
|
|
684
660
|
"title": "Spot Area ID(s)",
|
|
685
661
|
"type": "string",
|
|
686
|
-
"required": true,
|
|
687
662
|
"description": "Enter a spot area ID or multiple IDs separated by a comma.",
|
|
688
663
|
"pattern": "^([0-9]|[1-9][0-9]+|(([0-9],|[1-9][0-9]+,)+([0-9]|[1-9][0-9]+)))$",
|
|
689
664
|
"condition": {
|
|
@@ -693,7 +668,6 @@
|
|
|
693
668
|
"customAreaCoordinates12": {
|
|
694
669
|
"title": "Custom Area Coordinates",
|
|
695
670
|
"type": "string",
|
|
696
|
-
"required": true,
|
|
697
671
|
"description": "Enter custom area coordinates in the format 'x1,y1,x2,y2' (decimals separated by '.' and without the inverted comma).",
|
|
698
672
|
"pattern": "^((0|-?[1-9][0-9]*)(\\.[0-9]+)?,){3}(0|-?[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
699
673
|
"condition": {
|
|
@@ -729,7 +703,6 @@
|
|
|
729
703
|
"spotAreaIDs13": {
|
|
730
704
|
"title": "Spot Area ID(s)",
|
|
731
705
|
"type": "string",
|
|
732
|
-
"required": true,
|
|
733
706
|
"description": "Enter a spot area ID or multiple IDs separated by a comma.",
|
|
734
707
|
"pattern": "^([0-9]|[1-9][0-9]+|(([0-9],|[1-9][0-9]+,)+([0-9]|[1-9][0-9]+)))$",
|
|
735
708
|
"condition": {
|
|
@@ -739,7 +712,6 @@
|
|
|
739
712
|
"customAreaCoordinates13": {
|
|
740
713
|
"title": "Custom Area Coordinates",
|
|
741
714
|
"type": "string",
|
|
742
|
-
"required": true,
|
|
743
715
|
"description": "Enter custom area coordinates in the format 'x1,y1,x2,y2' (decimals separated by '.' and without the inverted comma).",
|
|
744
716
|
"pattern": "^((0|-?[1-9][0-9]*)(\\.[0-9]+)?,){3}(0|-?[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
745
717
|
"condition": {
|
|
@@ -775,7 +747,6 @@
|
|
|
775
747
|
"spotAreaIDs14": {
|
|
776
748
|
"title": "Spot Area ID(s)",
|
|
777
749
|
"type": "string",
|
|
778
|
-
"required": true,
|
|
779
750
|
"description": "Enter a spot area ID or multiple IDs separated by a comma.",
|
|
780
751
|
"pattern": "^([0-9]|[1-9][0-9]+|(([0-9],|[1-9][0-9]+,)+([0-9]|[1-9][0-9]+)))$",
|
|
781
752
|
"condition": {
|
|
@@ -785,7 +756,6 @@
|
|
|
785
756
|
"customAreaCoordinates14": {
|
|
786
757
|
"title": "Custom Area Coordinates",
|
|
787
758
|
"type": "string",
|
|
788
|
-
"required": true,
|
|
789
759
|
"description": "Enter custom area coordinates in the format 'x1,y1,x2,y2' (decimals separated by '.' and without the inverted comma).",
|
|
790
760
|
"pattern": "^((0|-?[1-9][0-9]*)(\\.[0-9]+)?,){3}(0|-?[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
791
761
|
"condition": {
|
|
@@ -821,7 +791,6 @@
|
|
|
821
791
|
"spotAreaIDs15": {
|
|
822
792
|
"title": "Spot Area ID(s)",
|
|
823
793
|
"type": "string",
|
|
824
|
-
"required": true,
|
|
825
794
|
"description": "Enter a spot area ID or multiple IDs separated by a comma.",
|
|
826
795
|
"pattern": "^([0-9]|[1-9][0-9]+|(([0-9],|[1-9][0-9]+,)+([0-9]|[1-9][0-9]+)))$",
|
|
827
796
|
"condition": {
|
|
@@ -831,7 +800,6 @@
|
|
|
831
800
|
"customAreaCoordinates15": {
|
|
832
801
|
"title": "Custom Area Coordinates",
|
|
833
802
|
"type": "string",
|
|
834
|
-
"required": true,
|
|
835
803
|
"description": "Enter custom area coordinates in the format 'x1,y1,x2,y2' (decimals separated by '.' and without the inverted comma).",
|
|
836
804
|
"pattern": "^((0|-?[1-9][0-9]*)(\\.[0-9]+)?,){3}(0|-?[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
837
805
|
"condition": {
|
package/package.json
CHANGED