homebridge-melcloud-control 2.5.0-beta.88 → 2.5.0-beta.9

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.
@@ -12,6 +12,7 @@
12
12
  "accounts": {
13
13
  "type": "array",
14
14
  "items": {
15
+ "title": "MELCloud accounts",
15
16
  "type": "object",
16
17
  "properties": {
17
18
  "name": {
@@ -204,8 +205,157 @@
204
205
  "description": "Here select the language used in MELCloud account.",
205
206
  "required": true
206
207
  },
207
- "ataDevices": {
208
- "title": "Devices ATA",
208
+ "ataDisplayMode": {
209
+ "title": "Control",
210
+ "type": "integer",
211
+ "minimum": 0,
212
+ "maximum": 1,
213
+ "default": 0,
214
+ "oneOf": [
215
+ {
216
+ "title": "Heater/Cooler",
217
+ "enum": [
218
+ 0
219
+ ]
220
+ },
221
+ {
222
+ "title": "Thermostat",
223
+ "enum": [
224
+ 1
225
+ ]
226
+ }
227
+ ],
228
+ "description": "Select device control mode displayed in HomeKit app.",
229
+ "required": true
230
+ },
231
+ "ataHeatDryFanMode": {
232
+ "title": "Heat",
233
+ "type": "integer",
234
+ "minimum": 0,
235
+ "maximum": 3,
236
+ "default": 1,
237
+ "oneOf": [
238
+ {
239
+ "title": "None/Disabled",
240
+ "enum": [
241
+ 0
242
+ ]
243
+ },
244
+ {
245
+ "title": "Heat",
246
+ "enum": [
247
+ 1
248
+ ]
249
+ },
250
+ {
251
+ "title": "Dry",
252
+ "enum": [
253
+ 2
254
+ ]
255
+ },
256
+ {
257
+ "title": "Fan",
258
+ "enum": [
259
+ 3
260
+ ]
261
+ }
262
+ ],
263
+ "description": "Select the operating mode for Heat, if this mode is not supported, it will be disabled.",
264
+ "required": true
265
+ },
266
+ "ataCoolDryFanMode": {
267
+ "title": "Cool",
268
+ "type": "integer",
269
+ "minimum": 0,
270
+ "maximum": 3,
271
+ "default": 1,
272
+ "oneOf": [
273
+ {
274
+ "title": "None/Disabled",
275
+ "enum": [
276
+ 0
277
+ ]
278
+ },
279
+ {
280
+ "title": "Cool",
281
+ "enum": [
282
+ 1
283
+ ]
284
+ },
285
+ {
286
+ "title": "Dry",
287
+ "enum": [
288
+ 2
289
+ ]
290
+ },
291
+ {
292
+ "title": "Fan",
293
+ "enum": [
294
+ 3
295
+ ]
296
+ }
297
+ ],
298
+ "description": "Select the operating mode for Cool, if this mode is not supported, it will be disabled.",
299
+ "required": true
300
+ },
301
+ "ataAutoDryFanMode": {
302
+ "title": "Auto",
303
+ "type": "integer",
304
+ "minimum": 0,
305
+ "maximum": 3,
306
+ "default": 1,
307
+ "oneOf": [
308
+ {
309
+ "title": "None/Disabled",
310
+ "enum": [
311
+ 0
312
+ ]
313
+ },
314
+ {
315
+ "title": "Auto",
316
+ "enum": [
317
+ 1
318
+ ]
319
+ },
320
+ {
321
+ "title": "Dry",
322
+ "enum": [
323
+ 2
324
+ ]
325
+ },
326
+ {
327
+ "title": "Fan",
328
+ "enum": [
329
+ 3
330
+ ]
331
+ }
332
+ ],
333
+ "description": "Select the operating mode for Auto, if this mode is not supported, it will be disabled.",
334
+ "required": true
335
+ },
336
+ "ataPresets": {
337
+ "title": "Presets",
338
+ "type": "boolean",
339
+ "default": false,
340
+ "description": "This enable extra buttons for configured presets and display it in HomeKit app.",
341
+ "required": false
342
+ },
343
+ "ataTemperatureSensor": {
344
+ "title": "Room",
345
+ "type": "boolean",
346
+ "default": false,
347
+ "description": "This enable extra room temperature sensor to use with automations in HomeKit app.",
348
+ "required": false
349
+ },
350
+ "ataTemperatureSensorOutdoor": {
351
+ "title": "Outdoor",
352
+ "type": "boolean",
353
+ "default": false,
354
+ "description": "This enable extra outdoor temperature sensor to use with automations in HomeKit app.",
355
+ "required": false
356
+ },
357
+ "ataButtons": {
358
+ "title": "Button / Sensor",
209
359
  "type": "array",
210
360
  "items": {
211
361
  "type": "object",
@@ -213,122 +363,562 @@
213
363
  "name": {
214
364
  "title": "Name",
215
365
  "type": "string",
216
- "required": false
366
+ "placeholder": "Button name",
367
+ "description": "Your own name displayed in Homebridge/HomeKit app.",
368
+ "required": true
217
369
  },
218
- "id": {
219
- "title": "ID",
370
+ "mode": {
371
+ "title": "Mode",
220
372
  "type": "integer",
221
- "required": false
373
+ "minimum": 0,
374
+ "maximum": 40,
375
+ "description": "Function, VH - Vane Horizontal, VV - Vane Vertical.",
376
+ "oneOf": [
377
+ {
378
+ "title": "POWER ON/OFF",
379
+ "enum": [
380
+ 0
381
+ ]
382
+ },
383
+ {
384
+ "title": "MODE HEAT",
385
+ "enum": [
386
+ 1
387
+ ]
388
+ },
389
+ {
390
+ "title": "MODE DRY",
391
+ "enum": [
392
+ 2
393
+ ]
394
+ },
395
+ {
396
+ "title": "MODE COOL",
397
+ "enum": [
398
+ 3
399
+ ]
400
+ },
401
+ {
402
+ "title": "MODE FAN",
403
+ "enum": [
404
+ 4
405
+ ]
406
+ },
407
+ {
408
+ "title": "MODE AUTO",
409
+ "enum": [
410
+ 5
411
+ ]
412
+ },
413
+ {
414
+ "title": "MODE PURIFY",
415
+ "enum": [
416
+ 6
417
+ ]
418
+ },
419
+ {
420
+ "title": "MODE DRY CONTROL HIDE",
421
+ "enum": [
422
+ 7
423
+ ]
424
+ },
425
+ {
426
+ "title": "VH MODE AUTO",
427
+ "enum": [
428
+ 10
429
+ ]
430
+ },
431
+ {
432
+ "title": "VH MODE 1 / LEFT",
433
+ "enum": [
434
+ 11
435
+ ]
436
+ },
437
+ {
438
+ "title": "VH MODE 2",
439
+ "enum": [
440
+ 12
441
+ ]
442
+ },
443
+ {
444
+ "title": "VH MODE 3 / CENTER",
445
+ "enum": [
446
+ 13
447
+ ]
448
+ },
449
+ {
450
+ "title": "VH MODE 4",
451
+ "enum": [
452
+ 14
453
+ ]
454
+ },
455
+ {
456
+ "title": "VH MODE 5 / RIGHT",
457
+ "enum": [
458
+ 15
459
+ ]
460
+ },
461
+ {
462
+ "title": "VH MODE SPLIT",
463
+ "enum": [
464
+ 16
465
+ ]
466
+ },
467
+ {
468
+ "title": "VH MODE SWING",
469
+ "enum": [
470
+ 17
471
+ ]
472
+ },
473
+ {
474
+ "title": "VV MODE AUTO",
475
+ "enum": [
476
+ 20
477
+ ]
478
+ },
479
+ {
480
+ "title": "VV MODE 1 / UP",
481
+ "enum": [
482
+ 21
483
+ ]
484
+ },
485
+ {
486
+ "title": "VV MODE 2",
487
+ "enum": [
488
+ 22
489
+ ]
490
+ },
491
+ {
492
+ "title": "VV MODE 3 / CENTER",
493
+ "enum": [
494
+ 23
495
+ ]
496
+ },
497
+ {
498
+ "title": "VV MODE 4",
499
+ "enum": [
500
+ 24
501
+ ]
502
+ },
503
+ {
504
+ "title": "VV MODE 5 / DOWN",
505
+ "enum": [
506
+ 25
507
+ ]
508
+ },
509
+ {
510
+ "title": "VV SWING",
511
+ "enum": [
512
+ 26
513
+ ]
514
+ },
515
+ {
516
+ "title": "VH/VV CONTROLS HIDE",
517
+ "enum": [
518
+ 27
519
+ ]
520
+ },
521
+ {
522
+ "title": "FAN MODE AUTO",
523
+ "enum": [
524
+ 30
525
+ ]
526
+ },
527
+ {
528
+ "title": "FAN MODE 1",
529
+ "enum": [
530
+ 31
531
+ ]
532
+ },
533
+ {
534
+ "title": "FAN MODE 2",
535
+ "enum": [
536
+ 32
537
+ ]
538
+ },
539
+ {
540
+ "title": "FAN MODE 3",
541
+ "enum": [
542
+ 33
543
+ ]
544
+ },
545
+ {
546
+ "title": "FAN MODE 4",
547
+ "enum": [
548
+ 34
549
+ ]
550
+ },
551
+ {
552
+ "title": "FAN MODE 5",
553
+ "enum": [
554
+ 35
555
+ ]
556
+ },
557
+ {
558
+ "title": "FAN MODE 6",
559
+ "enum": [
560
+ 36
561
+ ]
562
+ },
563
+ {
564
+ "title": "LOCK CONTROL All",
565
+ "enum": [
566
+ 37
567
+ ]
568
+ },
569
+ {
570
+ "title": "LOCK CONTROL POWER",
571
+ "enum": [
572
+ 38
573
+ ]
574
+ },
575
+ {
576
+ "title": "LOCK CONTROL MODE",
577
+ "enum": [
578
+ 39
579
+ ]
580
+ },
581
+ {
582
+ "title": "LOCK CONTROL TEMPERATURE",
583
+ "enum": [
584
+ 40
585
+ ]
586
+ }
587
+ ],
588
+ "required": true
222
589
  },
223
- "type": {
590
+ "displayType": {
224
591
  "title": "Type",
225
592
  "type": "integer",
593
+ "minimum": 0,
594
+ "maximum": 5,
595
+ "oneOf": [
596
+ {
597
+ "title": "None/Disabled",
598
+ "enum": [
599
+ 0
600
+ ]
601
+ },
602
+ {
603
+ "title": "Outlet",
604
+ "enum": [
605
+ 1
606
+ ]
607
+ },
608
+ {
609
+ "title": "Switch",
610
+ "enum": [
611
+ 2
612
+ ]
613
+ },
614
+ {
615
+ "title": "Motion Sensor",
616
+ "enum": [
617
+ 3
618
+ ]
619
+ },
620
+ {
621
+ "title": "Occupancy Sensor",
622
+ "enum": [
623
+ 4
624
+ ]
625
+ },
626
+ {
627
+ "title": "Contact Sensor",
628
+ "enum": [
629
+ 5
630
+ ]
631
+ }
632
+ ],
633
+ "description": "Select the characteristic type to be displayed in HomeKit app.",
634
+ "required": true
635
+ },
636
+ "namePrefix": {
637
+ "title": "Prefix",
638
+ "type": "boolean",
639
+ "description": "Enable/disable the accessory name as a prefix for button/sensor name.",
640
+ "required": false
641
+ }
642
+ }
643
+ },
644
+ "required": false
645
+ },
646
+ "ataHideDeviceById": {
647
+ "title": "Hide Device By Id",
648
+ "type": "array",
649
+ "items": {
650
+ "type": "object",
651
+ "properties": {
652
+ "name": {
653
+ "title": "Name",
654
+ "type": "string",
655
+ "placeholder": "Device name",
656
+ "description": "Your own name.",
657
+ "required": false
658
+ },
659
+ "id": {
660
+ "title": "Id",
661
+ "type": "string",
662
+ "description": "Set device Id to be hidden and not exposed to the Homebridge/Homekit.",
226
663
  "required": false
664
+ }
665
+ }
666
+ },
667
+ "required": false
668
+ },
669
+ "atwDisplayMode": {
670
+ "title": "Control Mode",
671
+ "type": "integer",
672
+ "minimum": 0,
673
+ "maximum": 1,
674
+ "default": 0,
675
+ "oneOf": [
676
+ {
677
+ "title": "Heater/Cooler",
678
+ "enum": [
679
+ 0
680
+ ]
681
+ },
682
+ {
683
+ "title": "Thermostat",
684
+ "enum": [
685
+ 1
686
+ ]
687
+ }
688
+ ],
689
+ "description": "Select main control mode.",
690
+ "required": true
691
+ },
692
+ "atwTemperatureSensor": {
693
+ "title": "Temperature Sensor Room",
694
+ "type": "boolean",
695
+ "default": false,
696
+ "description": "This enable extra room temperature sensor to use with automations in HomeKit app.",
697
+ "required": false
698
+ },
699
+ "atwTemperatureSensorFlow": {
700
+ "title": "Temperature Sensor Flow",
701
+ "type": "boolean",
702
+ "default": false,
703
+ "description": "This enable extra Flow temperature sensor to use with automations in HomeKit app.",
704
+ "required": false
705
+ },
706
+ "atwTemperatureSensorReturn": {
707
+ "title": "Temperature Sensor Return",
708
+ "type": "boolean",
709
+ "default": false,
710
+ "description": "This enable extra Return temperature sensor to use with automations in HomeKit app.",
711
+ "required": false
712
+ },
713
+ "atwTemperatureSensorFlowZone1": {
714
+ "title": "Temperature Sensor Flow Zone 1",
715
+ "type": "boolean",
716
+ "default": false,
717
+ "description": "This enable extra Flow Zone 1 temperature sensor to use with automations in HomeKit app.",
718
+ "required": false
719
+ },
720
+ "atwTemperatureSensorReturnZone1": {
721
+ "title": "Temperature Sensor Return Zone 1",
722
+ "type": "boolean",
723
+ "default": false,
724
+ "description": "This enable extra Return Zone 1 temperature sensor to use with automations in HomeKit app.",
725
+ "required": false
726
+ },
727
+ "atwTemperatureSensorFlowWaterTank": {
728
+ "title": "Temperature Sensor Flow Water Tank",
729
+ "type": "boolean",
730
+ "default": false,
731
+ "description": "This enable extra Flow Water Tank temperature sensor to use with automations in HomeKit app.",
732
+ "required": false
733
+ },
734
+ "atwTemperatureSensorReturnWaterTank": {
735
+ "title": "Temperature Sensor Return Water Tank",
736
+ "type": "boolean",
737
+ "default": false,
738
+ "description": "This enable extra Return Water Tank temperature sensor to use with automations in HomeKit app.",
739
+ "required": false
740
+ },
741
+ "atwTemperatureSensorFlowZone2": {
742
+ "title": "Temperature Sensor Flow Zone 2",
743
+ "type": "boolean",
744
+ "default": false,
745
+ "description": "This enable extra Flow Zone 2 temperature sensor to use with automations in HomeKit app.",
746
+ "required": false
747
+ },
748
+ "atwTemperatureSensorReturnZone2": {
749
+ "title": "Temperature Sensor Return Zone 2",
750
+ "type": "boolean",
751
+ "default": false,
752
+ "description": "This enable extra Return Zone 2 temperature sensor to use with automations in HomeKit app.",
753
+ "required": false
754
+ },
755
+ "atwPresets": {
756
+ "title": "Presets",
757
+ "type": "boolean",
758
+ "default": false,
759
+ "description": "This enable extra buttons for configured presets and display it in HomeKit app.",
760
+ "required": false
761
+ },
762
+ "atwButtons": {
763
+ "title": "Button",
764
+ "type": "array",
765
+ "items": {
766
+ "type": "object",
767
+ "properties": {
768
+ "name": {
769
+ "title": "Name",
770
+ "type": "string",
771
+ "placeholder": "Button name",
772
+ "description": "Your own name displayed in Homebridge/HomeKit app.",
773
+ "required": true
227
774
  },
228
- "displayMode": {
229
- "title": "Control",
775
+ "mode": {
776
+ "title": "Mode",
230
777
  "type": "integer",
231
778
  "minimum": 0,
232
- "maximum": 1,
233
- "default": 0,
779
+ "maximum": 70,
780
+ "description": "Select the function.",
234
781
  "oneOf": [
235
782
  {
236
- "title": "None/Disabled",
783
+ "title": "POWER ON/OFF",
237
784
  "enum": [
238
785
  0
239
786
  ]
240
787
  },
241
788
  {
242
- "title": "Heater/Cooler",
789
+ "title": "MODE HEAT",
243
790
  "enum": [
244
791
  1
245
792
  ]
246
793
  },
247
794
  {
248
- "title": "Thermostat",
795
+ "title": "MODE COOL",
249
796
  "enum": [
250
- 1
797
+ 2
251
798
  ]
252
- }
253
- ],
254
- "description": "Select device control mode displayed in HomeKit app.",
255
- "required": true
256
- },
257
- "heatDryFanMode": {
258
- "title": "Heat",
259
- "type": "integer",
260
- "minimum": 0,
261
- "maximum": 3,
262
- "default": 1,
263
- "oneOf": [
799
+ },
264
800
  {
265
- "title": "None/Disabled",
801
+ "title": "MODE HOLIDAY",
266
802
  "enum": [
267
- 0
803
+ 3
268
804
  ]
269
805
  },
270
806
  {
271
- "title": "Heat",
807
+ "title": "LOCK CONTROL ALL",
272
808
  "enum": [
273
- 1
809
+ 10
274
810
  ]
275
811
  },
276
812
  {
277
- "title": "Dry",
813
+ "title": "Z1 MODE HEAT THERMOSTAT",
278
814
  "enum": [
279
- 2
815
+ 20
280
816
  ]
281
817
  },
282
818
  {
283
- "title": "Fan",
819
+ "title": "Z1 MODE HEAT FLOW",
284
820
  "enum": [
285
- 3
821
+ 21
286
822
  ]
287
- }
288
- ],
289
- "description": "Select the operating mode for Heat, if this mode is not supported, it will be disabled.",
290
- "required": true
291
- },
292
- "coolDryFanMode": {
293
- "title": "Cool",
294
- "type": "integer",
295
- "minimum": 0,
296
- "maximum": 3,
297
- "oneOf": [
823
+ },
298
824
  {
299
- "title": "None/Disabled",
825
+ "title": "Z1 MODE HEAT CURVE",
300
826
  "enum": [
301
- 0
827
+ 22
302
828
  ]
303
829
  },
304
830
  {
305
- "title": "Cool",
831
+ "title": "Z1 MODE COOL THERMOSTAT",
306
832
  "enum": [
307
- 1
833
+ 23
308
834
  ]
309
835
  },
310
836
  {
311
- "title": "Dry",
837
+ "title": "Z1 MODE COOL FLOW",
312
838
  "enum": [
313
- 2
839
+ 24
314
840
  ]
315
841
  },
316
842
  {
317
- "title": "Fan",
843
+ "title": "Z1 MODE FLOOR DRY UP",
318
844
  "enum": [
319
- 3
845
+ 25
846
+ ]
847
+ },
848
+ {
849
+ "title": "Z1 LOCK CONTROL",
850
+ "enum": [
851
+ 30
852
+ ]
853
+ },
854
+ {
855
+ "title": "HW MODE FORCE",
856
+ "enum": [
857
+ 40
858
+ ]
859
+ },
860
+ {
861
+ "title": "HW MODE ECO",
862
+ "enum": [
863
+ 41
864
+ ]
865
+ },
866
+ {
867
+ "title": "HW LOCK CONTROL",
868
+ "enum": [
869
+ 50
870
+ ]
871
+ },
872
+ {
873
+ "title": "Z2 MODE HEAT THERMOSTAT",
874
+ "enum": [
875
+ 60
876
+ ]
877
+ },
878
+ {
879
+ "title": "Z2 MODE HEAT FLOW",
880
+ "enum": [
881
+ 61
882
+ ]
883
+ },
884
+ {
885
+ "title": "Z2 MODE HEAT CURVE",
886
+ "enum": [
887
+ 62
888
+ ]
889
+ },
890
+ {
891
+ "title": "Z2 MODE COOL THERMOSTAT",
892
+ "enum": [
893
+ 63
894
+ ]
895
+ },
896
+ {
897
+ "title": "Z2 MODE COOL FLOW",
898
+ "enum": [
899
+ 64
900
+ ]
901
+ },
902
+ {
903
+ "title": "Z2 MODE FLOOR DRY UP",
904
+ "enum": [
905
+ 65
906
+ ]
907
+ },
908
+ {
909
+ "title": "Z2 LOCK CONTROL",
910
+ "enum": [
911
+ 70
320
912
  ]
321
913
  }
322
914
  ],
323
- "description": "Select the operating mode for Cool, if this mode is not supported, it will be disabled.",
324
915
  "required": true
325
916
  },
326
- "autoDryFanMode": {
327
- "title": "Auto",
917
+ "displayType": {
918
+ "title": "Type",
328
919
  "type": "integer",
329
920
  "minimum": 0,
330
- "maximum": 3,
331
- "default": 1,
921
+ "maximum": 5,
332
922
  "oneOf": [
333
923
  {
334
924
  "title": "None/Disabled",
@@ -337,346 +927,51 @@
337
927
  ]
338
928
  },
339
929
  {
340
- "title": "Auto",
930
+ "title": "Outlet",
341
931
  "enum": [
342
932
  1
343
933
  ]
344
934
  },
345
935
  {
346
- "title": "Dry",
936
+ "title": "Switch",
347
937
  "enum": [
348
938
  2
349
939
  ]
350
940
  },
351
941
  {
352
- "title": "Fan",
942
+ "title": "Motion Sensor",
353
943
  "enum": [
354
944
  3
355
945
  ]
946
+ },
947
+ {
948
+ "title": "Occupancy Sensor",
949
+ "enum": [
950
+ 4
951
+ ]
952
+ },
953
+ {
954
+ "title": "Contact Sensor",
955
+ "enum": [
956
+ 5
957
+ ]
356
958
  }
357
959
  ],
358
- "description": "Select the operating mode for Auto, if this mode is not supported, it will be disabled.",
960
+ "description": "Select the characteristic type to be displayed in HomeKit app.",
359
961
  "required": true
360
962
  },
361
- "presets": {
362
- "title": "Presets",
363
- "type": "boolean",
364
- "default": false,
365
- "description": "This enable extra buttons for configured presets and display it in HomeKit app.",
366
- "required": false
367
- },
368
- "temperatureSensor": {
369
- "title": "Room",
370
- "type": "boolean",
371
- "default": false,
372
- "description": "This enable extra room temperature sensor to use with automations in HomeKit app.",
373
- "required": false
374
- },
375
- "temperatureSensorOutdoor": {
376
- "title": "Outdoor",
963
+ "namePrefix": {
964
+ "title": "Prefix",
377
965
  "type": "boolean",
378
- "default": false,
379
- "description": "This enable extra outdoor temperature sensor to use with automations in HomeKit app.",
966
+ "description": "Enable/disable the accessory name as a prefix for button/sensor name.",
380
967
  "required": false
381
- },
382
- "buttonsSensors": {
383
- "title": "Button / Sensor",
384
- "type": "array",
385
- "items": {
386
- "type": "object",
387
- "properties": {
388
- "name": {
389
- "title": "Name",
390
- "type": "string",
391
- "placeholder": "Button name",
392
- "description": "Your own name displayed in Homebridge/HomeKit app.",
393
- "required": true
394
- },
395
- "mode": {
396
- "title": "Mode",
397
- "type": "integer",
398
- "minimum": 0,
399
- "maximum": 40,
400
- "description": "Function, VH - Vane Horizontal, VV - Vane Vertical.",
401
- "oneOf": [
402
- {
403
- "title": "POWER ON/OFF",
404
- "enum": [
405
- 0
406
- ]
407
- },
408
- {
409
- "title": "MODE HEAT",
410
- "enum": [
411
- 1
412
- ]
413
- },
414
- {
415
- "title": "MODE DRY",
416
- "enum": [
417
- 2
418
- ]
419
- },
420
- {
421
- "title": "MODE COOL",
422
- "enum": [
423
- 3
424
- ]
425
- },
426
- {
427
- "title": "MODE FAN",
428
- "enum": [
429
- 4
430
- ]
431
- },
432
- {
433
- "title": "MODE AUTO",
434
- "enum": [
435
- 5
436
- ]
437
- },
438
- {
439
- "title": "MODE PURIFY",
440
- "enum": [
441
- 6
442
- ]
443
- },
444
- {
445
- "title": "MODE DRY CONTROL HIDE",
446
- "enum": [
447
- 7
448
- ]
449
- },
450
- {
451
- "title": "VH MODE AUTO",
452
- "enum": [
453
- 10
454
- ]
455
- },
456
- {
457
- "title": "VH MODE 1 / LEFT",
458
- "enum": [
459
- 11
460
- ]
461
- },
462
- {
463
- "title": "VH MODE 2",
464
- "enum": [
465
- 12
466
- ]
467
- },
468
- {
469
- "title": "VH MODE 3 / CENTER",
470
- "enum": [
471
- 13
472
- ]
473
- },
474
- {
475
- "title": "VH MODE 4",
476
- "enum": [
477
- 14
478
- ]
479
- },
480
- {
481
- "title": "VH MODE 5 / RIGHT",
482
- "enum": [
483
- 15
484
- ]
485
- },
486
- {
487
- "title": "VH MODE SPLIT",
488
- "enum": [
489
- 16
490
- ]
491
- },
492
- {
493
- "title": "VH MODE SWING",
494
- "enum": [
495
- 17
496
- ]
497
- },
498
- {
499
- "title": "VV MODE AUTO",
500
- "enum": [
501
- 20
502
- ]
503
- },
504
- {
505
- "title": "VV MODE 1 / UP",
506
- "enum": [
507
- 21
508
- ]
509
- },
510
- {
511
- "title": "VV MODE 2",
512
- "enum": [
513
- 22
514
- ]
515
- },
516
- {
517
- "title": "VV MODE 3 / CENTER",
518
- "enum": [
519
- 23
520
- ]
521
- },
522
- {
523
- "title": "VV MODE 4",
524
- "enum": [
525
- 24
526
- ]
527
- },
528
- {
529
- "title": "VV MODE 5 / DOWN",
530
- "enum": [
531
- 25
532
- ]
533
- },
534
- {
535
- "title": "VV SWING",
536
- "enum": [
537
- 26
538
- ]
539
- },
540
- {
541
- "title": "VH/VV CONTROLS HIDE",
542
- "enum": [
543
- 27
544
- ]
545
- },
546
- {
547
- "title": "FAN MODE AUTO",
548
- "enum": [
549
- 30
550
- ]
551
- },
552
- {
553
- "title": "FAN MODE 1",
554
- "enum": [
555
- 31
556
- ]
557
- },
558
- {
559
- "title": "FAN MODE 2",
560
- "enum": [
561
- 32
562
- ]
563
- },
564
- {
565
- "title": "FAN MODE 3",
566
- "enum": [
567
- 33
568
- ]
569
- },
570
- {
571
- "title": "FAN MODE 4",
572
- "enum": [
573
- 34
574
- ]
575
- },
576
- {
577
- "title": "FAN MODE 5",
578
- "enum": [
579
- 35
580
- ]
581
- },
582
- {
583
- "title": "FAN MODE 6",
584
- "enum": [
585
- 36
586
- ]
587
- },
588
- {
589
- "title": "LOCK CONTROL All",
590
- "enum": [
591
- 37
592
- ]
593
- },
594
- {
595
- "title": "LOCK CONTROL POWER",
596
- "enum": [
597
- 38
598
- ]
599
- },
600
- {
601
- "title": "LOCK CONTROL MODE",
602
- "enum": [
603
- 39
604
- ]
605
- },
606
- {
607
- "title": "LOCK CONTROL TEMPERATURE",
608
- "enum": [
609
- 40
610
- ]
611
- }
612
- ],
613
- "required": true
614
- },
615
- "displayType": {
616
- "title": "Type",
617
- "type": "integer",
618
- "minimum": 0,
619
- "maximum": 5,
620
- "default": 0,
621
- "oneOf": [
622
- {
623
- "title": "None/Disabled",
624
- "enum": [
625
- 0
626
- ]
627
- },
628
- {
629
- "title": "Outlet",
630
- "enum": [
631
- 1
632
- ]
633
- },
634
- {
635
- "title": "Switch",
636
- "enum": [
637
- 2
638
- ]
639
- },
640
- {
641
- "title": "Motion Sensor",
642
- "enum": [
643
- 3
644
- ]
645
- },
646
- {
647
- "title": "Occupancy Sensor",
648
- "enum": [
649
- 4
650
- ]
651
- },
652
- {
653
- "title": "Contact Sensor",
654
- "enum": [
655
- 5
656
- ]
657
- }
658
- ],
659
- "description": "Select the characteristic type to be displayed in HomeKit app.",
660
- "required": true
661
- },
662
- "namePrefix": {
663
- "title": "Prefix",
664
- "type": "boolean",
665
- "default": false,
666
- "description": "Enable/disable the accessory name as a prefix for button/sensor name.",
667
- "required": false
668
- }
669
- }
670
- }
671
968
  }
672
969
  }
673
970
  },
674
- "condition": {
675
- "functionBody": "const devices = model.accounts[arrayIndices]?.ataDevices || []; return devices.length > 0 && devices.every(device => device.id != null && device.id !== '');"
676
- }
971
+ "required": false
677
972
  },
678
- "atwDevices": {
679
- "title": "Devices ATW",
973
+ "atwHideDeviceById": {
974
+ "title": "Hide Device By Id",
680
975
  "type": "array",
681
976
  "items": {
682
977
  "type": "object",
@@ -684,337 +979,73 @@
684
979
  "name": {
685
980
  "title": "Name",
686
981
  "type": "string",
982
+ "placeholder": "Device name",
983
+ "description": "Your own name.",
687
984
  "required": false
688
985
  },
689
986
  "id": {
690
- "title": "Mode",
691
- "type": "integer",
692
- "required": false
693
- },
694
- "type": {
695
- "title": "Type",
696
- "type": "integer",
697
- "required": false
698
- },
699
- "displayMode": {
700
- "title": "Control",
701
- "type": "integer",
702
- "minimum": 0,
703
- "maximum": 2,
704
- "default": 1,
705
- "oneOf": [
706
- {
707
- "title": "None/Disabled",
708
- "enum": [
709
- 0
710
- ]
711
- },
712
- {
713
- "title": "Heater/Cooler",
714
- "enum": [
715
- 1
716
- ]
717
- },
718
- {
719
- "title": "Thermostat",
720
- "enum": [
721
- 2
722
- ]
723
- }
724
- ],
725
- "description": "Select device control mode displayed in HomeKit app.",
726
- "required": true
727
- },
728
- "temperatureSensor": {
729
- "title": "Temperature Sensor Room",
730
- "type": "boolean",
731
- "default": false,
732
- "description": "This enable extra temperature sensor to use with automations in HomeKit app.",
733
- "required": false
734
- },
735
- "temperatureSensorFlow": {
736
- "title": "Temperature Sensor Flow",
737
- "type": "boolean",
738
- "default": false,
739
- "description": "This enable extra Flow temperature sensor to use with automations in HomeKit app.",
740
- "required": false
741
- },
742
- "temperatureSensorReturn": {
743
- "title": "Temperature Sensor Return",
744
- "type": "boolean",
745
- "default": false,
746
- "description": "This enable extra Return temperature sensor to use with automations in HomeKit app.",
747
- "required": false
748
- },
749
- "temperatureSensorFlowZone1": {
750
- "title": "Temperature Sensor Flow Zone 1",
751
- "type": "boolean",
752
- "default": false,
753
- "description": "This enable extra Flow Zone 1 temperature sensor to use with automations in HomeKit app.",
754
- "required": false
755
- },
756
- "temperatureSensorReturnZone1": {
757
- "title": "Temperature Sensor Return Zone 1",
758
- "type": "boolean",
759
- "default": false,
760
- "description": "This enable extra Return Zone 1 temperature sensor to use with automations in HomeKit app.",
761
- "required": false
762
- },
763
- "temperatureSensorFlowWaterTank": {
764
- "title": "Temperature Sensor Flow Water Tank",
765
- "type": "boolean",
766
- "default": false,
767
- "description": "This enable extra Flow Water Tank temperature sensor to use with automations in HomeKit app.",
768
- "required": false
769
- },
770
- "temperatureSensorReturnWaterTank": {
771
- "title": "Temperature Sensor Return Water Tank",
772
- "type": "boolean",
773
- "default": false,
774
- "description": "This enable extra Return Water Tank temperature sensor to use with automations in HomeKit app.",
775
- "required": false
776
- },
777
- "temperatureSensorFlowZone2": {
778
- "title": "Temperature Sensor Flow Zone 2",
779
- "type": "boolean",
780
- "default": false,
781
- "description": "This enable extra Flow Zone 2 temperature sensor to use with automations in HomeKit app.",
782
- "required": false
783
- },
784
- "temperatureSensorReturnZone2": {
785
- "title": "Temperature Sensor Return Zone 2",
786
- "type": "boolean",
787
- "default": false,
788
- "description": "This enable extra Return Zone 2 temperature sensor to use with automations in HomeKit app.",
789
- "required": false
790
- },
791
- "presets": {
792
- "title": "Presets",
793
- "type": "boolean",
794
- "default": false,
795
- "description": "This enable extra buttons for configured presets and display it in HomeKit app.",
987
+ "title": "Id",
988
+ "type": "string",
989
+ "description": "Set device Id to be hidden and not exposed to the Homebridge/Homekit.",
796
990
  "required": false
797
- },
798
- "buttonsSensors": {
799
- "title": "Button",
800
- "type": "array",
801
- "items": {
802
- "type": "object",
803
- "properties": {
804
- "name": {
805
- "title": "Name",
806
- "type": "string",
807
- "placeholder": "Button name",
808
- "description": "Your own name displayed in Homebridge/HomeKit app.",
809
- "required": true
810
- },
811
- "mode": {
812
- "title": "Mode",
813
- "type": "integer",
814
- "minimum": 0,
815
- "maximum": 70,
816
- "description": "Select the function.",
817
- "oneOf": [
818
- {
819
- "title": "POWER ON/OFF",
820
- "enum": [
821
- 0
822
- ]
823
- },
824
- {
825
- "title": "MODE HEAT",
826
- "enum": [
827
- 1
828
- ]
829
- },
830
- {
831
- "title": "MODE COOL",
832
- "enum": [
833
- 2
834
- ]
835
- },
836
- {
837
- "title": "MODE HOLIDAY",
838
- "enum": [
839
- 3
840
- ]
841
- },
842
- {
843
- "title": "LOCK CONTROL ALL",
844
- "enum": [
845
- 10
846
- ]
847
- },
848
- {
849
- "title": "Z1 MODE HEAT THERMOSTAT",
850
- "enum": [
851
- 20
852
- ]
853
- },
854
- {
855
- "title": "Z1 MODE HEAT FLOW",
856
- "enum": [
857
- 21
858
- ]
859
- },
860
- {
861
- "title": "Z1 MODE HEAT CURVE",
862
- "enum": [
863
- 22
864
- ]
865
- },
866
- {
867
- "title": "Z1 MODE COOL THERMOSTAT",
868
- "enum": [
869
- 23
870
- ]
871
- },
872
- {
873
- "title": "Z1 MODE COOL FLOW",
874
- "enum": [
875
- 24
876
- ]
877
- },
878
- {
879
- "title": "Z1 MODE FLOOR DRY UP",
880
- "enum": [
881
- 25
882
- ]
883
- },
884
- {
885
- "title": "Z1 LOCK CONTROL",
886
- "enum": [
887
- 30
888
- ]
889
- },
890
- {
891
- "title": "HW MODE FORCE",
892
- "enum": [
893
- 40
894
- ]
895
- },
896
- {
897
- "title": "HW MODE ECO",
898
- "enum": [
899
- 41
900
- ]
901
- },
902
- {
903
- "title": "HW LOCK CONTROL",
904
- "enum": [
905
- 50
906
- ]
907
- },
908
- {
909
- "title": "Z2 MODE HEAT THERMOSTAT",
910
- "enum": [
911
- 60
912
- ]
913
- },
914
- {
915
- "title": "Z2 MODE HEAT FLOW",
916
- "enum": [
917
- 61
918
- ]
919
- },
920
- {
921
- "title": "Z2 MODE HEAT CURVE",
922
- "enum": [
923
- 62
924
- ]
925
- },
926
- {
927
- "title": "Z2 MODE COOL THERMOSTAT",
928
- "enum": [
929
- 63
930
- ]
931
- },
932
- {
933
- "title": "Z2 MODE COOL FLOW",
934
- "enum": [
935
- 64
936
- ]
937
- },
938
- {
939
- "title": "Z2 MODE FLOOR DRY UP",
940
- "enum": [
941
- 65
942
- ]
943
- },
944
- {
945
- "title": "Z2 LOCK CONTROL",
946
- "enum": [
947
- 70
948
- ]
949
- }
950
- ],
951
- "required": true
952
- },
953
- "displayType": {
954
- "title": "Type",
955
- "type": "integer",
956
- "minimum": 0,
957
- "maximum": 5,
958
- "default": 0,
959
- "oneOf": [
960
- {
961
- "title": "None/Disabled",
962
- "enum": [
963
- 0
964
- ]
965
- },
966
- {
967
- "title": "Outlet",
968
- "enum": [
969
- 1
970
- ]
971
- },
972
- {
973
- "title": "Switch",
974
- "enum": [
975
- 2
976
- ]
977
- },
978
- {
979
- "title": "Motion Sensor",
980
- "enum": [
981
- 3
982
- ]
983
- },
984
- {
985
- "title": "Occupancy Sensor",
986
- "enum": [
987
- 4
988
- ]
989
- },
990
- {
991
- "title": "Contact Sensor",
992
- "enum": [
993
- 5
994
- ]
995
- }
996
- ],
997
- "description": "Select the characteristic type to be displayed in HomeKit app.",
998
- "required": true
999
- },
1000
- "namePrefix": {
1001
- "title": "Prefix",
1002
- "type": "boolean",
1003
- "default": false,
1004
- "description": "Enable/disable the accessory name as a prefix for button/sensor name.",
1005
- "required": false
1006
- }
1007
- }
1008
- }
1009
991
  }
1010
992
  }
1011
993
  },
1012
- "condition": {
1013
- "functionBody": "const devices = model.accounts[arrayIndices]?.atwDevices || []; return devices.length > 0 && devices.every(device => device.id != null && device.id !== '');"
1014
- }
994
+ "required": false
995
+ },
996
+ "ervDisplayMode": {
997
+ "title": "Control Mode",
998
+ "type": "integer",
999
+ "minimum": 0,
1000
+ "maximum": 1,
1001
+ "default": 0,
1002
+ "oneOf": [
1003
+ {
1004
+ "title": "Heater/Cooler",
1005
+ "enum": [
1006
+ 0
1007
+ ]
1008
+ },
1009
+ {
1010
+ "title": "Thermostat",
1011
+ "enum": [
1012
+ 1
1013
+ ]
1014
+ }
1015
+ ],
1016
+ "description": "Select main control mode.",
1017
+ "required": true
1018
+ },
1019
+ "ervTemperatureSensor": {
1020
+ "title": "Temperature Sensor Room",
1021
+ "type": "boolean",
1022
+ "default": false,
1023
+ "description": "This enable extra temperature sensor to use with automations in HomeKit app.",
1024
+ "required": false
1025
+ },
1026
+ "ervTemperatureSensorOutdoor": {
1027
+ "title": "Temperature Sensor Outdoor",
1028
+ "type": "boolean",
1029
+ "default": false,
1030
+ "description": "This enable extra outdoor temperature sensor to use with automations in HomeKit app.",
1031
+ "required": false
1032
+ },
1033
+ "ervTemperatureSensorSupply": {
1034
+ "title": "Temperature Sensor Supply",
1035
+ "type": "boolean",
1036
+ "default": false,
1037
+ "description": "This enable extra supply temperature sensor to use with automations in HomeKit app.",
1038
+ "required": false
1039
+ },
1040
+ "ervPresets": {
1041
+ "title": "Presets",
1042
+ "type": "boolean",
1043
+ "default": false,
1044
+ "description": "This enable extra buttons for configured presets and display it in HomeKit app.",
1045
+ "required": false
1015
1046
  },
1016
- "ervDevices": {
1017
- "title": "Devices ERV",
1047
+ "ervButtons": {
1048
+ "title": "Button",
1018
1049
  "type": "array",
1019
1050
  "items": {
1020
1051
  "type": "object",
@@ -1022,24 +1053,109 @@
1022
1053
  "name": {
1023
1054
  "title": "Name",
1024
1055
  "type": "string",
1025
- "required": false
1056
+ "placeholder": "Button name",
1057
+ "description": "Your own name displayed in Homebridge/HomeKit app.",
1058
+ "required": true
1026
1059
  },
1027
- "id": {
1060
+ "mode": {
1028
1061
  "title": "Mode",
1029
1062
  "type": "integer",
1030
- "required": false
1063
+ "minimum": 0,
1064
+ "maximum": 18,
1065
+ "description": "Select the function.",
1066
+ "oneOf": [
1067
+ {
1068
+ "title": "POWER ON/OFF",
1069
+ "enum": [
1070
+ 0
1071
+ ]
1072
+ },
1073
+ {
1074
+ "title": "MODE LOSSNAY",
1075
+ "enum": [
1076
+ 1
1077
+ ]
1078
+ },
1079
+ {
1080
+ "title": "MODE BYPASS",
1081
+ "enum": [
1082
+ 2
1083
+ ]
1084
+ },
1085
+ {
1086
+ "title": "MODE AUTO",
1087
+ "enum": [
1088
+ 3
1089
+ ]
1090
+ },
1091
+ {
1092
+ "title": "MODE NIGHT PURGE",
1093
+ "enum": [
1094
+ 4
1095
+ ]
1096
+ },
1097
+ {
1098
+ "title": "FAN MODE AUTO",
1099
+ "enum": [
1100
+ 10
1101
+ ]
1102
+ },
1103
+ {
1104
+ "title": "FAN MODE 1",
1105
+ "enum": [
1106
+ 11
1107
+ ]
1108
+ },
1109
+ {
1110
+ "title": "FAN MODE 2",
1111
+ "enum": [
1112
+ 12
1113
+ ]
1114
+ },
1115
+ {
1116
+ "title": "FAN MODE 3",
1117
+ "enum": [
1118
+ 13
1119
+ ]
1120
+ },
1121
+ {
1122
+ "title": "FAN MODE 4",
1123
+ "enum": [
1124
+ 14
1125
+ ]
1126
+ },
1127
+ {
1128
+ "title": "LOCK CONTROL",
1129
+ "enum": [
1130
+ 15
1131
+ ]
1132
+ },
1133
+ {
1134
+ "title": "ROOM TEMP HIDE",
1135
+ "enum": [
1136
+ 16
1137
+ ]
1138
+ },
1139
+ {
1140
+ "title": "SUPPLY TEMP HIDE",
1141
+ "enum": [
1142
+ 17
1143
+ ]
1144
+ },
1145
+ {
1146
+ "title": "OUTDOOR TEMP HIDE",
1147
+ "enum": [
1148
+ 18
1149
+ ]
1150
+ }
1151
+ ],
1152
+ "required": true
1031
1153
  },
1032
- "type": {
1154
+ "displayType": {
1033
1155
  "title": "Type",
1034
1156
  "type": "integer",
1035
- "required": false
1036
- },
1037
- "displayMode": {
1038
- "title": "Control",
1039
- "type": "integer",
1040
1157
  "minimum": 0,
1041
- "maximum": 2,
1042
- "default": 0,
1158
+ "maximum": 5,
1043
1159
  "oneOf": [
1044
1160
  {
1045
1161
  "title": "None/Disabled",
@@ -1048,218 +1164,71 @@
1048
1164
  ]
1049
1165
  },
1050
1166
  {
1051
- "title": "Heater/Cooler",
1167
+ "title": "Outlet",
1052
1168
  "enum": [
1053
1169
  1
1054
1170
  ]
1055
1171
  },
1056
1172
  {
1057
- "title": "Thermostat",
1173
+ "title": "Switch",
1058
1174
  "enum": [
1059
1175
  2
1060
1176
  ]
1177
+ },
1178
+ {
1179
+ "title": "Motion Sensor",
1180
+ "enum": [
1181
+ 3
1182
+ ]
1183
+ },
1184
+ {
1185
+ "title": "Occupancy Sensor",
1186
+ "enum": [
1187
+ 4
1188
+ ]
1189
+ },
1190
+ {
1191
+ "title": "Contact Sensor",
1192
+ "enum": [
1193
+ 5
1194
+ ]
1061
1195
  }
1062
1196
  ],
1063
- "description": "Select device control mode displayed in HomeKit app.",
1064
- "required": true
1065
- },
1066
- "temperatureSensor": {
1067
- "title": "Temperature Sensor Room",
1068
- "type": "boolean",
1069
- "default": false,
1070
- "description": "This enable extra temperature sensor to use with automations in HomeKit app.",
1197
+ "description": "Select the characteristic type to be displayed in HomeKit app.",
1071
1198
  "required": false
1072
1199
  },
1073
- "temperatureSensorOutdoor": {
1074
- "title": "Temperature Sensor Outdoor",
1200
+ "namePrefix": {
1201
+ "title": "Prefix",
1075
1202
  "type": "boolean",
1076
- "default": false,
1077
- "description": "This enable extra outdoor temperature sensor to use with automations in HomeKit app.",
1203
+ "description": "Enable/disable the accessory name as a prefix for button/sensor name.",
1078
1204
  "required": false
1079
- },
1080
- "temperatureSensorSupply": {
1081
- "title": "Temperature Sensor Supply",
1082
- "type": "boolean",
1083
- "default": false,
1084
- "description": "This enable extra supply temperature sensor to use with automations in HomeKit app.",
1205
+ }
1206
+ }
1207
+ },
1208
+ "required": false
1209
+ },
1210
+ "ervHideDeviceById": {
1211
+ "title": "Hide Device By Id",
1212
+ "type": "array",
1213
+ "items": {
1214
+ "type": "object",
1215
+ "properties": {
1216
+ "name": {
1217
+ "title": "Name",
1218
+ "type": "string",
1219
+ "placeholder": "Device name",
1220
+ "description": "Your own name.",
1085
1221
  "required": false
1086
1222
  },
1087
- "presets": {
1088
- "title": "Presets",
1089
- "type": "boolean",
1090
- "default": false,
1091
- "description": "This enable extra buttons for configured presets and display it in HomeKit app.",
1223
+ "id": {
1224
+ "title": "Id",
1225
+ "type": "string",
1226
+ "description": "Set device Id to be hidden and not exposed to the Homebridge/Homekit.",
1092
1227
  "required": false
1093
- },
1094
- "buttonsSensors": {
1095
- "title": "Button",
1096
- "type": "array",
1097
- "items": {
1098
- "type": "object",
1099
- "properties": {
1100
- "name": {
1101
- "title": "Name",
1102
- "type": "string",
1103
- "placeholder": "Button name",
1104
- "description": "Your own name displayed in Homebridge/HomeKit app.",
1105
- "required": true
1106
- },
1107
- "mode": {
1108
- "title": "Mode",
1109
- "type": "integer",
1110
- "minimum": 0,
1111
- "maximum": 18,
1112
- "description": "Select the function.",
1113
- "oneOf": [
1114
- {
1115
- "title": "POWER ON/OFF",
1116
- "enum": [
1117
- 0
1118
- ]
1119
- },
1120
- {
1121
- "title": "MODE LOSSNAY",
1122
- "enum": [
1123
- 1
1124
- ]
1125
- },
1126
- {
1127
- "title": "MODE BYPASS",
1128
- "enum": [
1129
- 2
1130
- ]
1131
- },
1132
- {
1133
- "title": "MODE AUTO",
1134
- "enum": [
1135
- 3
1136
- ]
1137
- },
1138
- {
1139
- "title": "MODE NIGHT PURGE",
1140
- "enum": [
1141
- 4
1142
- ]
1143
- },
1144
- {
1145
- "title": "FAN MODE AUTO",
1146
- "enum": [
1147
- 10
1148
- ]
1149
- },
1150
- {
1151
- "title": "FAN MODE 1",
1152
- "enum": [
1153
- 11
1154
- ]
1155
- },
1156
- {
1157
- "title": "FAN MODE 2",
1158
- "enum": [
1159
- 12
1160
- ]
1161
- },
1162
- {
1163
- "title": "FAN MODE 3",
1164
- "enum": [
1165
- 13
1166
- ]
1167
- },
1168
- {
1169
- "title": "FAN MODE 4",
1170
- "enum": [
1171
- 14
1172
- ]
1173
- },
1174
- {
1175
- "title": "LOCK CONTROL",
1176
- "enum": [
1177
- 15
1178
- ]
1179
- },
1180
- {
1181
- "title": "ROOM TEMP HIDE",
1182
- "enum": [
1183
- 16
1184
- ]
1185
- },
1186
- {
1187
- "title": "SUPPLY TEMP HIDE",
1188
- "enum": [
1189
- 17
1190
- ]
1191
- },
1192
- {
1193
- "title": "OUTDOOR TEMP HIDE",
1194
- "enum": [
1195
- 18
1196
- ]
1197
- }
1198
- ],
1199
- "required": true
1200
- },
1201
- "displayType": {
1202
- "title": "Type",
1203
- "type": "integer",
1204
- "minimum": 0,
1205
- "maximum": 5,
1206
- "default": 0,
1207
- "oneOf": [
1208
- {
1209
- "title": "None/Disabled",
1210
- "enum": [
1211
- 0
1212
- ]
1213
- },
1214
- {
1215
- "title": "Outlet",
1216
- "enum": [
1217
- 1
1218
- ]
1219
- },
1220
- {
1221
- "title": "Switch",
1222
- "enum": [
1223
- 2
1224
- ]
1225
- },
1226
- {
1227
- "title": "Motion Sensor",
1228
- "enum": [
1229
- 3
1230
- ]
1231
- },
1232
- {
1233
- "title": "Occupancy Sensor",
1234
- "enum": [
1235
- 4
1236
- ]
1237
- },
1238
- {
1239
- "title": "Contact Sensor",
1240
- "enum": [
1241
- 5
1242
- ]
1243
- }
1244
- ],
1245
- "description": "Select the characteristic type to be displayed in HomeKit app.",
1246
- "required": true
1247
- },
1248
- "namePrefix": {
1249
- "title": "Prefix",
1250
- "type": "boolean",
1251
- "default": false,
1252
- "description": "Enable/disable the accessory name as a prefix for button/sensor name.",
1253
- "required": false
1254
- }
1255
- }
1256
- }
1257
1228
  }
1258
1229
  }
1259
1230
  },
1260
- "condition": {
1261
- "functionBody": "const devices = model.accounts[arrayIndices]?.ervDevices || []; return devices.length > 0 && devices.every(device => device.id != null && device.id !== '');"
1262
- }
1231
+ "required": false
1263
1232
  },
1264
1233
  "refreshInterval": {
1265
1234
  "title": "Account Refresh Interval",
@@ -1446,211 +1415,207 @@
1446
1415
  "accounts[].language",
1447
1416
  {
1448
1417
  "key": "accounts[]",
1449
- "type": "tabarray",
1450
- "title": "{{ value.title }}",
1418
+ "type": "section",
1419
+ "title": "Advanced Settings",
1420
+ "expandable": true,
1421
+ "expanded": false,
1451
1422
  "items": [
1452
1423
  {
1453
1424
  "key": "accounts[]",
1454
- "title": "Air Conditioner",
1425
+ "type": "tabarray",
1426
+ "title": "{{ value.title }}",
1455
1427
  "items": [
1456
1428
  {
1457
- "key": "accounts[].ataDevices",
1458
- "type": "tabarray",
1459
- "title": "{{ value.name }}",
1429
+ "key": "accounts[]",
1430
+ "title": "Air Conditioner",
1460
1431
  "items": [
1432
+ "accounts[].ataDisplayMode",
1433
+ "accounts[].ataPresets",
1461
1434
  {
1462
- "key": "accounts[].ataDevices[].name",
1463
- "readonly": true
1464
- },
1465
- {
1466
- "key": "accounts[].ataDevices[].id",
1467
- "readonly": true
1468
- },
1469
- {
1470
- "key": "accounts[].ataDevices[].type",
1471
- "readonly": true
1435
+ "key": "accounts[]",
1436
+ "type": "section",
1437
+ "title": "Operating Modes",
1438
+ "expandable": true,
1439
+ "expanded": false,
1440
+ "items": [
1441
+ "accounts[].ataHeatDryFanMode",
1442
+ "accounts[].ataCoolDryFanMode",
1443
+ "accounts[].ataAutoDryFanMode"
1444
+ ]
1472
1445
  },
1473
- "accounts[].ataDevices[].displayMode",
1474
- "accounts[].ataDevices[].heatDryFanMode",
1475
- "accounts[].ataDevices[].coolDryFanMode",
1476
- "accounts[].ataDevices[].autoDryFanMode",
1477
- "accounts[].ataDevices[].presets",
1478
1446
  {
1479
- "key": "accounts[].ataDevices[]",
1447
+ "key": "accounts[]",
1480
1448
  "type": "section",
1481
1449
  "title": "Temperature Sensors",
1482
1450
  "expandable": true,
1483
1451
  "expanded": false,
1484
1452
  "items": [
1485
- "accounts[].ataDevices[].temperatureSensor",
1486
- "accounts[].ataDevices[].temperatureSensorOutdoor"
1453
+ "accounts[].ataTemperatureSensor",
1454
+ "accounts[].ataTemperatureSensorOutdoor"
1487
1455
  ]
1488
1456
  },
1489
1457
  {
1490
- "key": "accounts[].ataDevices[]",
1458
+ "key": "accounts[]",
1491
1459
  "type": "section",
1492
1460
  "title": "Buttons / Sensors",
1493
1461
  "expandable": true,
1494
1462
  "expanded": false,
1495
1463
  "items": [
1496
1464
  {
1497
- "key": "accounts[].ataDevices[].buttonsSensors",
1465
+ "key": "accounts[].ataButtons",
1498
1466
  "type": "tabarray",
1499
1467
  "title": "{{ value.name || 'button/sensor' }}",
1500
1468
  "items": [
1501
- "accounts[].ataDevices[].buttonsSensors[].name",
1502
- "accounts[].ataDevices[].buttonsSensors[].mode",
1503
- "accounts[].ataDevices[].buttonsSensors[].displayType",
1504
- "accounts[].ataDevices[].buttonsSensors[].namePrefix"
1469
+ "accounts[].ataButtons[].name",
1470
+ "accounts[].ataButtons[].mode",
1471
+ "accounts[].ataButtons[].displayType",
1472
+ "accounts[].ataButtons[].namePrefix"
1473
+ ]
1474
+ }
1475
+ ]
1476
+ },
1477
+ {
1478
+ "key": "accounts[]",
1479
+ "type": "section",
1480
+ "title": "Hide Device By Id",
1481
+ "expandable": true,
1482
+ "expanded": false,
1483
+ "items": [
1484
+ {
1485
+ "key": "accounts[].ataHideDeviceById",
1486
+ "type": "tabarray",
1487
+ "title": "{{ value.name || 'device' }}",
1488
+ "items": [
1489
+ "accounts[].ataHideDeviceById[].name",
1490
+ "accounts[].ataHideDeviceById[].id"
1505
1491
  ]
1506
1492
  }
1507
1493
  ]
1508
1494
  }
1509
1495
  ]
1510
- }
1511
- ]
1512
- },
1513
- {
1514
- "key": "accounts[]",
1515
- "title": "Heat Pump",
1516
- "items": [
1496
+ },
1517
1497
  {
1518
- "key": "accounts[].atwDevices",
1519
- "type": "tabarray",
1520
- "title": "{{ value.name }}",
1521
- "addable": false,
1498
+ "key": "accounts[]",
1499
+ "title": "Heat Pump",
1522
1500
  "items": [
1501
+ "accounts[].atwDisplayMode",
1502
+ "accounts[].atwPresets",
1523
1503
  {
1524
- "key": "accounts[].atwDevices[].name",
1525
- "readonly": true
1526
- },
1527
- {
1528
- "key": "accounts[].atwDevices[].id",
1529
- "readonly": true
1530
- },
1531
- {
1532
- "key": "accounts[].atwDevices[].type",
1533
- "readonly": true
1534
- },
1535
- "accounts[].atwDevices[].displayMode",
1536
- "accounts[].atwDevices[].presets",
1537
- {
1538
- "key": "accounts[].atwDevices[]",
1504
+ "key": "accounts[]",
1539
1505
  "type": "section",
1540
1506
  "title": "Temperature Sensors",
1541
1507
  "expandable": true,
1542
1508
  "expanded": false,
1543
1509
  "items": [
1544
- "accounts[].atwDevices[].temperatureSensor",
1545
- "accounts[].atwDevices[].temperatureSensorFlow",
1546
- "accounts[].atwDevices[].temperatureSensorReturn",
1547
- "accounts[].atwDevices[].temperatureSensorFlowZone1",
1548
- "accounts[].atwDevices[].temperatureSensorReturnZone1",
1549
- "accounts[].atwDevices[].temperatureSensorFlowWaterTank",
1550
- "accounts[].atwDevices[].temperatureSensorReturnWaterTank",
1551
- "accounts[].atwDevices[].temperatureSensorFlowZone2",
1552
- "accounts[].atwDevices[].temperatureSensorReturnZone2"
1510
+ "accounts[].atwTemperatureSensor",
1511
+ "accounts[].atwTemperatureSensorFlow",
1512
+ "accounts[].atwTemperatureSensorReturn",
1513
+ "accounts[].atwTemperatureSensorFlowZone1",
1514
+ "accounts[].atwTemperatureSensorReturnZone1",
1515
+ "accounts[].atwTemperatureSensorFlowWaterTank",
1516
+ "accounts[].atwTemperatureSensorReturnWaterTank",
1517
+ "accounts[].atwTemperatureSensorFlowZone2",
1518
+ "accounts[].atwTemperatureSensorReturnZone2"
1553
1519
  ]
1554
1520
  },
1555
1521
  {
1556
- "key": "accounts[].atwDevices[]",
1522
+ "key": "accounts[]",
1557
1523
  "type": "section",
1558
1524
  "title": "Buttons / Sensors",
1559
1525
  "expandable": true,
1560
1526
  "expanded": false,
1561
1527
  "items": [
1562
1528
  {
1563
- "key": "accounts[].atwDevices[].buttonsSensors",
1529
+ "key": "accounts[].atwButtons",
1564
1530
  "type": "tabarray",
1565
1531
  "title": "{{ value.name || 'button/sensor' }}",
1566
1532
  "items": [
1567
- "accounts[].atwDevices[].buttonsSensors[].name",
1568
- "accounts[].atwDevices[].buttonsSensors[].mode",
1569
- "accounts[].atwDevices[].buttonsSensors[].displayType",
1570
- "accounts[].atwDevices[].buttonsSensors[].namePrefix"
1533
+ "accounts[].atwButtons[].name",
1534
+ "accounts[].atwButtons[].mode",
1535
+ "accounts[].atwButtons[].displayType",
1536
+ "accounts[].atwButtons[].namePrefix"
1537
+ ]
1538
+ }
1539
+ ]
1540
+ },
1541
+ {
1542
+ "key": "accounts[]",
1543
+ "type": "section",
1544
+ "title": "Hide Device By Id",
1545
+ "expandable": true,
1546
+ "expanded": false,
1547
+ "items": [
1548
+ {
1549
+ "key": "accounts[].atwHideDeviceById",
1550
+ "type": "tabarray",
1551
+ "title": "{{ value.name || 'device' }}",
1552
+ "items": [
1553
+ "accounts[].atwHideDeviceById[].name",
1554
+ "accounts[].atwHideDeviceById[].id"
1571
1555
  ]
1572
1556
  }
1573
1557
  ]
1574
1558
  }
1575
1559
  ]
1576
- }
1577
- ]
1578
- },
1579
- {
1580
- "key": "accounts[]",
1581
- "title": "Energy Recovery Ventilation",
1582
- "items": [
1560
+ },
1583
1561
  {
1584
- "key": "accounts[].ervDevices",
1585
- "type": "tabarray",
1586
- "title": "{{ value.name }}",
1587
- "addable": false,
1562
+ "key": "accounts[]",
1563
+ "title": "Energy Recovery Ventilation",
1588
1564
  "items": [
1565
+ "accounts[].ervDisplayMode",
1566
+ "accounts[].ervPresets",
1589
1567
  {
1590
- "key": "accounts[].ervDevices[].name",
1591
- "readonly": true
1592
- },
1593
- {
1594
- "key": "accounts[].ervDevices[].id",
1595
- "readonly": true
1596
- },
1597
- {
1598
- "key": "accounts[].ervDevices[].type",
1599
- "readonly": true
1600
- },
1601
- "accounts[].ervDevices[].displayMode",
1602
- "accounts[].ervDevices[].presets",
1603
- {
1604
- "key": "accounts[].ervDevices[]",
1568
+ "key": "accounts[]",
1605
1569
  "type": "section",
1606
1570
  "title": "Temperature Sensors",
1607
1571
  "expandable": true,
1608
1572
  "expanded": false,
1609
1573
  "items": [
1610
- "accounts[].ervDevices[].temperatureSensor",
1611
- "accounts[].ervDevices[].temperatureSensorOutdoor",
1612
- "accounts[].ervDevices[].temperatureSensorSupply"
1574
+ "accounts[].ervTemperatureSensor",
1575
+ "accounts[].ervTemperatureSensorOutdoor",
1576
+ "accounts[].ervTemperatureSensorSupply"
1613
1577
  ]
1614
1578
  },
1615
1579
  {
1616
- "key": "accounts[].ervDevices[]",
1580
+ "key": "accounts[]",
1617
1581
  "type": "section",
1618
1582
  "title": "Buttons / Sensors",
1619
1583
  "expandable": true,
1620
1584
  "expanded": false,
1621
1585
  "items": [
1622
1586
  {
1623
- "key": "accounts[].ervDevices[].buttonsSensors",
1587
+ "key": "accounts[].ervButtons",
1624
1588
  "type": "tabarray",
1625
1589
  "title": "{{ value.name || 'button/sensor' }}",
1626
1590
  "items": [
1627
- "accounts[].ervDevices[].buttonsSensors[].name",
1628
- "accounts[].ervDevices[].buttonsSensors[].mode",
1629
- "accounts[].ervDevices[].buttonsSensors[].displayType",
1630
- "accounts[].ervDevices[].buttonsSensors[].namePrefix"
1591
+ "accounts[].ervButtons[].name",
1592
+ "accounts[].ervButtons[].mode",
1593
+ "accounts[].ervButtons[].displayType",
1594
+ "accounts[].ervButtons[].namePrefix"
1595
+ ]
1596
+ }
1597
+ ]
1598
+ },
1599
+ {
1600
+ "key": "accounts[]",
1601
+ "type": "section",
1602
+ "title": "Hide Device By Id",
1603
+ "expandable": true,
1604
+ "expanded": false,
1605
+ "items": [
1606
+ {
1607
+ "key": "accounts[].ervHideDeviceById",
1608
+ "type": "tabarray",
1609
+ "title": "{{ value.name || 'device' }}",
1610
+ "items": [
1611
+ "accounts[].ervHideDeviceById[].name",
1612
+ "accounts[].ervHideDeviceById[].id"
1631
1613
  ]
1632
1614
  }
1633
1615
  ]
1634
1616
  }
1635
1617
  ]
1636
- }
1637
- ]
1638
- }
1639
- ]
1640
- },
1641
- {
1642
- "key": "accounts[]",
1643
- "type": "section",
1644
- "title": "Advanced Settings",
1645
- "expandable": true,
1646
- "expanded": false,
1647
- "items": [
1648
- {
1649
- "key": "accounts[]",
1650
- "type": "tabarray",
1651
- "title": "{{ value.title }}",
1652
- "addable": false,
1653
- "items": [
1618
+ },
1654
1619
  {
1655
1620
  "key": "accounts[]",
1656
1621
  "title": "System",