@switchbot/homebridge-switchbot 3.3.1-beta.2 → 3.3.1-beta.4

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.
Files changed (127) hide show
  1. package/config.schema.json +212 -205
  2. package/dist/device/blindtilt.d.ts +1 -1
  3. package/dist/device/blindtilt.d.ts.map +1 -1
  4. package/dist/device/blindtilt.js +3 -3
  5. package/dist/device/blindtilt.js.map +1 -1
  6. package/dist/device/bot.d.ts +1 -1
  7. package/dist/device/bot.d.ts.map +1 -1
  8. package/dist/device/bot.js +3 -3
  9. package/dist/device/bot.js.map +1 -1
  10. package/dist/device/ceilinglight.d.ts +1 -1
  11. package/dist/device/ceilinglight.d.ts.map +1 -1
  12. package/dist/device/ceilinglight.js +3 -3
  13. package/dist/device/ceilinglight.js.map +1 -1
  14. package/dist/device/contact.d.ts +1 -1
  15. package/dist/device/contact.d.ts.map +1 -1
  16. package/dist/device/contact.js +3 -3
  17. package/dist/device/contact.js.map +1 -1
  18. package/dist/device/curtain.d.ts +1 -1
  19. package/dist/device/curtain.d.ts.map +1 -1
  20. package/dist/device/curtain.js +3 -3
  21. package/dist/device/curtain.js.map +1 -1
  22. package/dist/device/hub.d.ts +1 -1
  23. package/dist/device/hub.d.ts.map +1 -1
  24. package/dist/device/hub.js +3 -3
  25. package/dist/device/hub.js.map +1 -1
  26. package/dist/device/humidifier.d.ts +1 -1
  27. package/dist/device/humidifier.d.ts.map +1 -1
  28. package/dist/device/humidifier.js +3 -3
  29. package/dist/device/humidifier.js.map +1 -1
  30. package/dist/device/iosensor.d.ts +1 -1
  31. package/dist/device/iosensor.d.ts.map +1 -1
  32. package/dist/device/iosensor.js +3 -3
  33. package/dist/device/iosensor.js.map +1 -1
  34. package/dist/device/lightstrip.d.ts +1 -1
  35. package/dist/device/lightstrip.d.ts.map +1 -1
  36. package/dist/device/lightstrip.js +3 -3
  37. package/dist/device/lightstrip.js.map +1 -1
  38. package/dist/device/lock.d.ts +1 -1
  39. package/dist/device/lock.d.ts.map +1 -1
  40. package/dist/device/lock.js +3 -3
  41. package/dist/device/lock.js.map +1 -1
  42. package/dist/device/meter.d.ts +1 -1
  43. package/dist/device/meter.d.ts.map +1 -1
  44. package/dist/device/meter.js +3 -3
  45. package/dist/device/meter.js.map +1 -1
  46. package/dist/device/meterplus.d.ts +1 -1
  47. package/dist/device/meterplus.d.ts.map +1 -1
  48. package/dist/device/meterplus.js +3 -3
  49. package/dist/device/meterplus.js.map +1 -1
  50. package/dist/device/motion.d.ts +1 -1
  51. package/dist/device/motion.d.ts.map +1 -1
  52. package/dist/device/motion.js +7 -3
  53. package/dist/device/motion.js.map +1 -1
  54. package/dist/device/plug.d.ts +1 -1
  55. package/dist/device/plug.d.ts.map +1 -1
  56. package/dist/device/plug.js +7 -3
  57. package/dist/device/plug.js.map +1 -1
  58. package/dist/device/robotvacuumcleaner.d.ts +1 -1
  59. package/dist/device/robotvacuumcleaner.d.ts.map +1 -1
  60. package/dist/device/robotvacuumcleaner.js +7 -3
  61. package/dist/device/robotvacuumcleaner.js.map +1 -1
  62. package/dist/irdevice/airconditioner.d.ts +1 -1
  63. package/dist/irdevice/airconditioner.d.ts.map +1 -1
  64. package/dist/irdevice/airconditioner.js +5 -5
  65. package/dist/irdevice/airconditioner.js.map +1 -1
  66. package/dist/irdevice/airpurifier.d.ts +1 -1
  67. package/dist/irdevice/airpurifier.d.ts.map +1 -1
  68. package/dist/irdevice/airpurifier.js +2 -2
  69. package/dist/irdevice/airpurifier.js.map +1 -1
  70. package/dist/irdevice/camera.d.ts +1 -1
  71. package/dist/irdevice/camera.d.ts.map +1 -1
  72. package/dist/irdevice/camera.js +2 -2
  73. package/dist/irdevice/camera.js.map +1 -1
  74. package/dist/irdevice/fan.d.ts +1 -1
  75. package/dist/irdevice/fan.d.ts.map +1 -1
  76. package/dist/irdevice/fan.js +2 -2
  77. package/dist/irdevice/fan.js.map +1 -1
  78. package/dist/irdevice/light.d.ts +1 -1
  79. package/dist/irdevice/light.d.ts.map +1 -1
  80. package/dist/irdevice/light.js +2 -2
  81. package/dist/irdevice/light.js.map +1 -1
  82. package/dist/irdevice/other.d.ts +1 -1
  83. package/dist/irdevice/other.d.ts.map +1 -1
  84. package/dist/irdevice/other.js +2 -2
  85. package/dist/irdevice/other.js.map +1 -1
  86. package/dist/irdevice/tv.d.ts +1 -1
  87. package/dist/irdevice/tv.d.ts.map +1 -1
  88. package/dist/irdevice/tv.js +2 -2
  89. package/dist/irdevice/tv.js.map +1 -1
  90. package/dist/irdevice/vacuumcleaner.d.ts +1 -1
  91. package/dist/irdevice/vacuumcleaner.d.ts.map +1 -1
  92. package/dist/irdevice/vacuumcleaner.js +2 -2
  93. package/dist/irdevice/vacuumcleaner.js.map +1 -1
  94. package/dist/irdevice/waterheater.d.ts +1 -1
  95. package/dist/irdevice/waterheater.d.ts.map +1 -1
  96. package/dist/irdevice/waterheater.js +2 -2
  97. package/dist/irdevice/waterheater.js.map +1 -1
  98. package/dist/platform.d.ts +5 -2
  99. package/dist/platform.d.ts.map +1 -1
  100. package/dist/platform.js +31 -3
  101. package/dist/platform.js.map +1 -1
  102. package/package.json +1 -1
  103. package/src/device/blindtilt.ts +3 -3
  104. package/src/device/bot.ts +3 -3
  105. package/src/device/ceilinglight.ts +3 -3
  106. package/src/device/contact.ts +3 -3
  107. package/src/device/curtain.ts +3 -3
  108. package/src/device/hub.ts +3 -3
  109. package/src/device/humidifier.ts +3 -3
  110. package/src/device/iosensor.ts +3 -3
  111. package/src/device/lightstrip.ts +3 -3
  112. package/src/device/lock.ts +3 -3
  113. package/src/device/meter.ts +3 -3
  114. package/src/device/meterplus.ts +3 -3
  115. package/src/device/motion.ts +7 -3
  116. package/src/device/plug.ts +7 -3
  117. package/src/device/robotvacuumcleaner.ts +7 -3
  118. package/src/irdevice/airconditioner.ts +5 -5
  119. package/src/irdevice/airpurifier.ts +2 -2
  120. package/src/irdevice/camera.ts +2 -2
  121. package/src/irdevice/fan.ts +2 -2
  122. package/src/irdevice/light.ts +2 -2
  123. package/src/irdevice/other.ts +2 -2
  124. package/src/irdevice/tv.ts +2 -2
  125. package/src/irdevice/vacuumcleaner.ts +2 -2
  126. package/src/irdevice/waterheater.ts +2 -2
  127. package/src/platform.ts +40 -4
@@ -77,6 +77,12 @@
77
77
  "title": "Device Type",
78
78
  "type": "string",
79
79
  "oneOf": [
80
+ {
81
+ "title": "Blind Tilt",
82
+ "enum": [
83
+ "Blind Tilt"
84
+ ]
85
+ },
80
86
  {
81
87
  "title": "Bot",
82
88
  "enum": [
@@ -84,39 +90,45 @@
84
90
  ]
85
91
  },
86
92
  {
87
- "title": "Curtain",
93
+ "title": "Ceiling Light",
88
94
  "enum": [
89
- "Curtain"
95
+ "Ceiling Light"
90
96
  ]
91
97
  },
92
98
  {
93
- "title": "Curtain 3",
99
+ "title": "Ceiling Light Pro",
94
100
  "enum": [
95
- "Curtain3"
101
+ "Ceiling Light Pro"
96
102
  ]
97
103
  },
98
104
  {
99
- "title": "Blind Tilt",
105
+ "title": "Color Bulb",
100
106
  "enum": [
101
- "Blind Tilt"
107
+ "Color Bulb"
102
108
  ]
103
109
  },
104
110
  {
105
- "title": "Plug",
111
+ "title": "Contact Sensor",
106
112
  "enum": [
107
- "Plug"
113
+ "Contact Sensor"
108
114
  ]
109
115
  },
110
116
  {
111
- "title": "Meter",
117
+ "title": "Curtain",
112
118
  "enum": [
113
- "Meter"
119
+ "Curtain"
114
120
  ]
115
121
  },
116
122
  {
117
- "title": "Motion Sensor",
123
+ "title": "Curtain 3",
118
124
  "enum": [
119
- "Motion Sensor"
125
+ "Curtain3"
126
+ ]
127
+ },
128
+ {
129
+ "title": "Floor Cleaning Robot S10",
130
+ "enum": [
131
+ "WoSweeper"
120
132
  ]
121
133
  },
122
134
  {
@@ -126,99 +138,99 @@
126
138
  ]
127
139
  },
128
140
  {
129
- "title": "Contact Sensor",
141
+ "title": "Humidifier",
130
142
  "enum": [
131
- "Contact Sensor"
143
+ "Humidifier"
132
144
  ]
133
145
  },
134
146
  {
135
- "title": "Color Bulb",
147
+ "title": "Indoor/Outdoor Sensor",
136
148
  "enum": [
137
- "Color Bulb"
149
+ "WoIOSensor"
138
150
  ]
139
151
  },
140
152
  {
141
- "title": "Ceiling Light",
153
+ "title": "Meter",
142
154
  "enum": [
143
- "Ceiling Light"
155
+ "Meter"
144
156
  ]
145
157
  },
146
158
  {
147
- "title": "Ceiling Light Pro",
159
+ "title": "Meter Plus (JP)",
148
160
  "enum": [
149
- "Ceiling Light Pro"
161
+ "Meter Plus (JP)"
150
162
  ]
151
163
  },
152
164
  {
153
- "title": "Humidifier",
165
+ "title": "Meter Plus (US)",
154
166
  "enum": [
155
- "Humidifier"
167
+ "MeterPlus"
156
168
  ]
157
169
  },
158
170
  {
159
- "title": "Smart Fan",
171
+ "title": "Mini Robot Vacuum K10+",
160
172
  "enum": [
161
- "Smart Fan"
173
+ "WoSweeperMini"
162
174
  ]
163
175
  },
164
176
  {
165
- "title": "Smart Lock",
177
+ "title": "Motion Sensor",
166
178
  "enum": [
167
- "Smart Lock"
179
+ "Motion Sensor"
168
180
  ]
169
181
  },
170
182
  {
171
- "title": "Smart Lock Pro",
183
+ "title": "Plug",
172
184
  "enum": [
173
- "Smart Lock Pro"
185
+ "Plug"
174
186
  ]
175
187
  },
176
188
  {
177
- "title": "Strip Light",
189
+ "title": "Plug Mini (JP)",
178
190
  "enum": [
179
- "Strip Light"
191
+ "Plug Mini (JP)"
180
192
  ]
181
193
  },
182
194
  {
183
- "title": "Meter Plus (US)",
195
+ "title": "Plug Mini (US)",
184
196
  "enum": [
185
- "MeterPlus"
197
+ "Plug Mini (US)"
186
198
  ]
187
199
  },
188
200
  {
189
- "title": "Meter Plus (JP)",
201
+ "title": "Robot Vacuum Cleaner S1",
190
202
  "enum": [
191
- "Meter Plus (JP)"
203
+ "Robot Vacuum Cleaner S1"
192
204
  ]
193
205
  },
194
206
  {
195
- "title": "Indoor/Outdoor Sensor",
207
+ "title": "Robot Vacuum Cleaner S1 Plus",
196
208
  "enum": [
197
- "WoIOSensor"
209
+ "Robot Vacuum Cleaner S1 Plus"
198
210
  ]
199
211
  },
200
212
  {
201
- "title": "Plug Mini (US)",
213
+ "title": "Smart Fan",
202
214
  "enum": [
203
- "Plug Mini (US)"
215
+ "Smart Fan"
204
216
  ]
205
217
  },
206
218
  {
207
- "title": "Plug Mini (JP)",
219
+ "title": "Smart Lock",
208
220
  "enum": [
209
- "Plug Mini (JP)"
221
+ "Smart Lock"
210
222
  ]
211
223
  },
212
224
  {
213
- "title": "Robot Vacuum Cleaner S1",
225
+ "title": "Smart Lock Pro",
214
226
  "enum": [
215
- "Robot Vacuum Cleaner S1"
227
+ "Smart Lock Pro"
216
228
  ]
217
229
  },
218
230
  {
219
- "title": "Robot Vacuum Cleaner S1 Plus",
231
+ "title": "Strip Light",
220
232
  "enum": [
221
- "Robot Vacuum Cleaner S1 Plus"
233
+ "Strip Light"
222
234
  ]
223
235
  }
224
236
  ],
@@ -231,27 +243,27 @@
231
243
  "type": "string",
232
244
  "oneOf": [
233
245
  {
234
- "title": "BLE/OpenAPI",
246
+ "title": "BLE",
235
247
  "enum": [
236
- "BLE/OpenAPI"
248
+ "BLE"
237
249
  ]
238
250
  },
239
251
  {
240
- "title": "OpenAPI",
252
+ "title": "BLE/OpenAPI",
241
253
  "enum": [
242
- "OpenAPI"
254
+ "BLE/OpenAPI"
243
255
  ]
244
256
  },
245
257
  {
246
- "title": "BLE",
258
+ "title": "Disable",
247
259
  "enum": [
248
- "BLE"
260
+ "Disabled"
249
261
  ]
250
262
  },
251
263
  {
252
- "title": "Disable",
264
+ "title": "OpenAPI",
253
265
  "enum": [
254
- "Disabled"
266
+ "OpenAPI"
255
267
  ]
256
268
  }
257
269
  ],
@@ -325,21 +337,21 @@
325
337
  ]
326
338
  },
327
339
  {
328
- "title": "Press",
340
+ "title": "Multi-Press",
329
341
  "enum": [
330
- "press"
342
+ "multipress"
331
343
  ]
332
344
  },
333
345
  {
334
- "title": "Switch",
346
+ "title": "Press",
335
347
  "enum": [
336
- "switch"
348
+ "press"
337
349
  ]
338
350
  },
339
351
  {
340
- "title": "Multi-Press",
352
+ "title": "Switch",
341
353
  "enum": [
342
- "multipress"
354
+ "switch"
343
355
  ]
344
356
  }
345
357
  ],
@@ -360,18 +372,6 @@
360
372
  ""
361
373
  ]
362
374
  },
363
- {
364
- "title": "Outlet",
365
- "enum": [
366
- "outlet"
367
- ]
368
- },
369
- {
370
- "title": "Garage Door",
371
- "enum": [
372
- "garagedoor"
373
- ]
374
- },
375
375
  {
376
376
  "title": "Door",
377
377
  "enum": [
@@ -379,9 +379,9 @@
379
379
  ]
380
380
  },
381
381
  {
382
- "title": "Lock",
382
+ "title": "Fan",
383
383
  "enum": [
384
- "lock"
384
+ "fan"
385
385
  ]
386
386
  },
387
387
  {
@@ -391,21 +391,21 @@
391
391
  ]
392
392
  },
393
393
  {
394
- "title": "Fan",
394
+ "title": "Garage Door",
395
395
  "enum": [
396
- "fan"
396
+ "garagedoor"
397
397
  ]
398
398
  },
399
399
  {
400
- "title": "Window",
400
+ "title": "Lock",
401
401
  "enum": [
402
- "window"
402
+ "lock"
403
403
  ]
404
404
  },
405
405
  {
406
- "title": "Window Covering",
406
+ "title": "Outlet",
407
407
  "enum": [
408
- "windowcovering"
408
+ "outlet"
409
409
  ]
410
410
  },
411
411
  {
@@ -419,6 +419,18 @@
419
419
  "enum": [
420
420
  "switch"
421
421
  ]
422
+ },
423
+ {
424
+ "title": "Window",
425
+ "enum": [
426
+ "window"
427
+ ]
428
+ },
429
+ {
430
+ "title": "Window Covering",
431
+ "enum": [
432
+ "windowcovering"
433
+ ]
422
434
  }
423
435
  ],
424
436
  "placeholder": "outlet",
@@ -544,16 +556,16 @@
544
556
  "type": "string",
545
557
  "oneOf": [
546
558
  {
547
- "title": "Performance Mode",
548
559
  "enum": [
549
560
  "0"
550
- ]
561
+ ],
562
+ "title": "Performance Mode"
551
563
  },
552
564
  {
553
- "title": "Silent Mode",
554
565
  "enum": [
555
566
  "1"
556
- ]
567
+ ],
568
+ "title": "Silent Mode"
557
569
  }
558
570
  ],
559
571
  "condition": {
@@ -565,16 +577,16 @@
565
577
  "type": "string",
566
578
  "oneOf": [
567
579
  {
568
- "title": "Performance Mode",
569
580
  "enum": [
570
581
  "0"
571
- ]
582
+ ],
583
+ "title": "Performance Mode"
572
584
  },
573
585
  {
574
- "title": "Silent Mode",
575
586
  "enum": [
576
587
  "1"
577
- ]
588
+ ],
589
+ "title": "Silent Mode"
578
590
  }
579
591
  ],
580
592
  "condition": {
@@ -614,34 +626,34 @@
614
626
  "type": "string",
615
627
  "oneOf": [
616
628
  {
617
- "title": "Middle to Up",
618
629
  "enum": [
619
- "only_up"
620
- ]
630
+ "down_and_up"
631
+ ],
632
+ "title": "Down-to-Up"
621
633
  },
622
634
  {
623
- "title": "Middle to Down",
624
635
  "enum": [
625
636
  "only_down"
626
- ]
637
+ ],
638
+ "title": "Middle to Down"
627
639
  },
628
640
  {
629
- "title": "Down-to-Up",
630
641
  "enum": [
631
- "down_and_up"
632
- ]
642
+ "only_up"
643
+ ],
644
+ "title": "Middle to Up"
633
645
  },
634
646
  {
635
- "title": "Up-to-Down",
636
647
  "enum": [
637
648
  "up_and_down"
638
- ]
649
+ ],
650
+ "title": "Up-to-Down"
639
651
  },
640
652
  {
641
- "title": "Tilt Direction",
642
653
  "enum": [
643
654
  "use_tilt_for_direction"
644
- ]
655
+ ],
656
+ "title": "Tilt Direction"
645
657
  }
646
658
  ],
647
659
  "description": "Defines how the Home app sliders control the blind tilt.",
@@ -903,15 +915,15 @@
903
915
  "default": "",
904
916
  "oneOf": [
905
917
  {
906
- "title": "Default Logging",
918
+ "title": "Debug Logging",
907
919
  "enum": [
908
- ""
920
+ "debug"
909
921
  ]
910
922
  },
911
923
  {
912
- "title": "Standard Logging",
924
+ "title": "Default Logging",
913
925
  "enum": [
914
- "standard"
926
+ ""
915
927
  ]
916
928
  },
917
929
  {
@@ -921,9 +933,9 @@
921
933
  ]
922
934
  },
923
935
  {
924
- "title": "Debug Logging",
936
+ "title": "Standard Logging",
925
937
  "enum": [
926
- "debug"
938
+ "standard"
927
939
  ]
928
940
  }
929
941
  ],
@@ -980,159 +992,159 @@
980
992
  ]
981
993
  },
982
994
  {
983
- "title": "DIY Air Conditioner (IR)",
995
+ "title": "Air Purifier (IR)",
984
996
  "enum": [
985
- "DIY Air Conditioner"
997
+ "Air Purifier"
986
998
  ]
987
999
  },
988
1000
  {
989
- "title": "TV (IR)",
1001
+ "title": "Camera (IR)",
990
1002
  "enum": [
991
- "TV"
1003
+ "Camera"
992
1004
  ]
993
1005
  },
994
1006
  {
995
- "title": "DIY TV (IR)",
1007
+ "title": "DIY Air Conditioner (IR)",
996
1008
  "enum": [
997
- "DIY TV"
1009
+ "DIY Air Conditioner"
998
1010
  ]
999
1011
  },
1000
1012
  {
1001
- "title": "Light (IR)",
1013
+ "title": "DIY Air Purifier (IR)",
1002
1014
  "enum": [
1003
- "Light"
1015
+ "DIY Air Purifier"
1004
1016
  ]
1005
1017
  },
1006
1018
  {
1007
- "title": "DIY Light (IR)",
1019
+ "title": "DIY Camera (IR)",
1008
1020
  "enum": [
1009
- "DIY Light"
1021
+ "DIY Camera"
1010
1022
  ]
1011
1023
  },
1012
1024
  {
1013
- "title": "IPTV (IR)",
1025
+ "title": "DIY DVD (IR)",
1014
1026
  "enum": [
1015
- "IPTV"
1027
+ "DIY DVD"
1016
1028
  ]
1017
1029
  },
1018
1030
  {
1019
- "title": "DIY IPTV (IR)",
1031
+ "title": "DIY Fan (IR)",
1020
1032
  "enum": [
1021
- "DIY IPTV"
1033
+ "DIY Fan"
1022
1034
  ]
1023
1035
  },
1024
1036
  {
1025
- "title": "Set Top Box (IR)",
1037
+ "title": "DIY IPTV (IR)",
1026
1038
  "enum": [
1027
- "Set Top Box"
1039
+ "DIY IPTV"
1028
1040
  ]
1029
1041
  },
1030
1042
  {
1031
- "title": "DIY Set Top Box (IR)",
1043
+ "title": "DIY Light (IR)",
1032
1044
  "enum": [
1033
- "DIY Set Top Box"
1045
+ "DIY Light"
1034
1046
  ]
1035
1047
  },
1036
1048
  {
1037
- "title": "DVD (IR)",
1049
+ "title": "DIY Projector (IR)",
1038
1050
  "enum": [
1039
- "DVD"
1051
+ "DIY Projector"
1040
1052
  ]
1041
1053
  },
1042
1054
  {
1043
- "title": "DIY DVD (IR)",
1055
+ "title": "DIY Set Top Box (IR)",
1044
1056
  "enum": [
1045
- "DIY DVD"
1057
+ "DIY Set Top Box"
1046
1058
  ]
1047
1059
  },
1048
1060
  {
1049
- "title": "Fan (IR)",
1061
+ "title": "DIY Speaker (IR)",
1050
1062
  "enum": [
1051
- "Fan"
1063
+ "DIY Speaker"
1052
1064
  ]
1053
1065
  },
1054
1066
  {
1055
- "title": "DIY Fan (IR)",
1067
+ "title": "DIY TV (IR)",
1056
1068
  "enum": [
1057
- "DIY Fan"
1069
+ "DIY TV"
1058
1070
  ]
1059
1071
  },
1060
1072
  {
1061
- "title": "Projector (IR)",
1073
+ "title": "DIY Vacuum Cleaner (IR)",
1062
1074
  "enum": [
1063
- "Projector"
1075
+ "DIY Vacuum Cleaner"
1064
1076
  ]
1065
1077
  },
1066
1078
  {
1067
- "title": "DIY Projector (IR)",
1079
+ "title": "DIY Water Heater (IR)",
1068
1080
  "enum": [
1069
- "DIY Projector"
1081
+ "DIY Water Heater"
1070
1082
  ]
1071
1083
  },
1072
1084
  {
1073
- "title": "Camera (IR)",
1085
+ "title": "DVD (IR)",
1074
1086
  "enum": [
1075
- "Camera"
1087
+ "DVD"
1076
1088
  ]
1077
1089
  },
1078
1090
  {
1079
- "title": "DIY Camera (IR)",
1091
+ "title": "Fan (IR)",
1080
1092
  "enum": [
1081
- "DIY Camera"
1093
+ "Fan"
1082
1094
  ]
1083
1095
  },
1084
1096
  {
1085
- "title": "Air Purifier (IR)",
1097
+ "title": "IPTV (IR)",
1086
1098
  "enum": [
1087
- "Air Purifier"
1099
+ "IPTV"
1088
1100
  ]
1089
1101
  },
1090
1102
  {
1091
- "title": "DIY Air Purifier (IR)",
1103
+ "title": "Light (IR)",
1092
1104
  "enum": [
1093
- "DIY Air Purifier"
1105
+ "Light"
1094
1106
  ]
1095
1107
  },
1096
1108
  {
1097
- "title": "Speaker (IR)",
1109
+ "title": "Others (IR)",
1098
1110
  "enum": [
1099
- "Speaker"
1111
+ "Others"
1100
1112
  ]
1101
1113
  },
1102
1114
  {
1103
- "title": "DIY Speaker (IR)",
1115
+ "title": "Projector (IR)",
1104
1116
  "enum": [
1105
- "DIY Speaker"
1117
+ "Projector"
1106
1118
  ]
1107
1119
  },
1108
1120
  {
1109
- "title": "Water Heater (IR)",
1121
+ "title": "Set Top Box (IR)",
1110
1122
  "enum": [
1111
- "Water Heater"
1123
+ "Set Top Box"
1112
1124
  ]
1113
1125
  },
1114
1126
  {
1115
- "title": "DIY Water Heater (IR)",
1127
+ "title": "Speaker (IR)",
1116
1128
  "enum": [
1117
- "DIY Water Heater"
1129
+ "Speaker"
1118
1130
  ]
1119
1131
  },
1120
1132
  {
1121
- "title": "Vacuum Cleaner (IR)",
1133
+ "title": "TV (IR)",
1122
1134
  "enum": [
1123
- "Vacuum Cleaner"
1135
+ "TV"
1124
1136
  ]
1125
1137
  },
1126
1138
  {
1127
- "title": "DIY Vacuum Cleaner (IR)",
1139
+ "title": "Vacuum Cleaner (IR)",
1128
1140
  "enum": [
1129
- "DIY Vacuum Cleaner"
1141
+ "Vacuum Cleaner"
1130
1142
  ]
1131
1143
  },
1132
1144
  {
1133
- "title": "Others (IR)",
1145
+ "title": "Water Heater (IR)",
1134
1146
  "enum": [
1135
- "Others"
1147
+ "Water Heater"
1136
1148
  ]
1137
1149
  }
1138
1150
  ],
@@ -1143,18 +1155,19 @@
1143
1155
  "connectionType": {
1144
1156
  "title": "Connection Type",
1145
1157
  "type": "string",
1158
+ "placeholder": "OpenAPI",
1146
1159
  "oneOf": [
1147
1160
  {
1148
- "title": "OpenAPI",
1149
1161
  "enum": [
1150
- "OpenAPI"
1151
- ]
1162
+ "Disabled"
1163
+ ],
1164
+ "title": "Disable"
1152
1165
  },
1153
1166
  {
1154
- "title": "Disable",
1155
1167
  "enum": [
1156
- "Disabled"
1157
- ]
1168
+ "OpenAPI"
1169
+ ],
1170
+ "title": "OpenAPI"
1158
1171
  }
1159
1172
  ],
1160
1173
  "description": "Enables OpenAPI, if disabled will leave device in HomeKit and commands will not be sent to OpenAPI.",
@@ -1268,6 +1281,12 @@
1268
1281
  "title": "Use an existing Switchbot device for temperature/humidity",
1269
1282
  "type": "string",
1270
1283
  "oneOf": [
1284
+ {
1285
+ "title": "Hub 2",
1286
+ "enum": [
1287
+ "Hub 2"
1288
+ ]
1289
+ },
1271
1290
  {
1272
1291
  "title": "Meter",
1273
1292
  "enum": [
@@ -1275,7 +1294,7 @@
1275
1294
  ]
1276
1295
  },
1277
1296
  {
1278
- "title": "MeterPlus",
1297
+ "title": "Meter Plus",
1279
1298
  "enum": [
1280
1299
  "MeterPlus"
1281
1300
  ]
@@ -1286,12 +1305,6 @@
1286
1305
  "Meter Plus (JP)"
1287
1306
  ]
1288
1307
  },
1289
- {
1290
- "title": "Hub 2",
1291
- "enum": [
1292
- "Hub 2"
1293
- ]
1294
- },
1295
1308
  {
1296
1309
  "title": "WoIOSensor",
1297
1310
  "enum": [
@@ -1377,27 +1390,27 @@
1377
1390
  "default": "",
1378
1391
  "oneOf": [
1379
1392
  {
1380
- "title": "Default",
1393
+ "title": "Door",
1381
1394
  "enum": [
1382
- ""
1395
+ "door"
1383
1396
  ]
1384
1397
  },
1385
1398
  {
1386
- "title": "Outlet",
1399
+ "title": "Fan",
1387
1400
  "enum": [
1388
- "outlet"
1401
+ "fan"
1389
1402
  ]
1390
1403
  },
1391
1404
  {
1392
- "title": "Garage Door",
1405
+ "title": "Faucet",
1393
1406
  "enum": [
1394
- "garagedoor"
1407
+ "faucet"
1395
1408
  ]
1396
1409
  },
1397
1410
  {
1398
- "title": "Door",
1411
+ "title": "Garage Door",
1399
1412
  "enum": [
1400
- "door"
1413
+ "garagedoor"
1401
1414
  ]
1402
1415
  },
1403
1416
  {
@@ -1407,39 +1420,33 @@
1407
1420
  ]
1408
1421
  },
1409
1422
  {
1410
- "title": "Faucet",
1411
- "enum": [
1412
- "faucet"
1413
- ]
1414
- },
1415
- {
1416
- "title": "Fan",
1423
+ "title": "Outlet",
1417
1424
  "enum": [
1418
- "fan"
1425
+ "outlet"
1419
1426
  ]
1420
1427
  },
1421
1428
  {
1422
- "title": "Window",
1429
+ "title": "Stateful Programmable Switch (Only Works in 3rd Party Home Apps)",
1423
1430
  "enum": [
1424
- "window"
1431
+ "stateful"
1425
1432
  ]
1426
1433
  },
1427
1434
  {
1428
- "title": "Window Covering",
1435
+ "title": "Switch",
1429
1436
  "enum": [
1430
- "windowcovering"
1437
+ "switch"
1431
1438
  ]
1432
1439
  },
1433
1440
  {
1434
- "title": "Stateful Programmable Switch (Only Works in 3rd Party Home Apps)",
1441
+ "title": "Window",
1435
1442
  "enum": [
1436
- "stateful"
1443
+ "window"
1437
1444
  ]
1438
1445
  },
1439
1446
  {
1440
- "title": "Switch",
1447
+ "title": "Window Covering",
1441
1448
  "enum": [
1442
- "switch"
1449
+ "windowcovering"
1443
1450
  ]
1444
1451
  }
1445
1452
  ],
@@ -1471,15 +1478,15 @@
1471
1478
  "default": "",
1472
1479
  "oneOf": [
1473
1480
  {
1474
- "title": "Default Logging",
1481
+ "title": "Debug Logging",
1475
1482
  "enum": [
1476
- ""
1483
+ "debug"
1477
1484
  ]
1478
1485
  },
1479
1486
  {
1480
- "title": "Standard Logging",
1487
+ "title": "Default Logging",
1481
1488
  "enum": [
1482
- "standard"
1489
+ ""
1483
1490
  ]
1484
1491
  },
1485
1492
  {
@@ -1489,9 +1496,9 @@
1489
1496
  ]
1490
1497
  },
1491
1498
  {
1492
- "title": "Debug Logging",
1499
+ "title": "Standard Logging",
1493
1500
  "enum": [
1494
- "debug"
1501
+ "standard"
1495
1502
  ]
1496
1503
  }
1497
1504
  ],
@@ -1533,15 +1540,15 @@
1533
1540
  "default": "",
1534
1541
  "oneOf": [
1535
1542
  {
1536
- "title": "Default Logging",
1543
+ "title": "Debug Logging",
1537
1544
  "enum": [
1538
- ""
1545
+ "debug"
1539
1546
  ]
1540
1547
  },
1541
1548
  {
1542
- "title": "Standard Logging",
1549
+ "title": "Default Logging",
1543
1550
  "enum": [
1544
- "standard"
1551
+ ""
1545
1552
  ]
1546
1553
  },
1547
1554
  {
@@ -1551,9 +1558,9 @@
1551
1558
  ]
1552
1559
  },
1553
1560
  {
1554
- "title": "Debug Logging",
1561
+ "title": "Standard Logging",
1555
1562
  "enum": [
1556
- "debug"
1563
+ "standard"
1557
1564
  ]
1558
1565
  }
1559
1566
  ]