@switchbot/homebridge-switchbot 4.3.1-beta.0 → 4.3.1-beta.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/config.schema.json +1 -80
- package/docs/functions/default.html +1 -1
- package/package.json +1 -1
package/config.schema.json
CHANGED
|
@@ -364,7 +364,6 @@
|
|
|
364
364
|
"type": {
|
|
365
365
|
"title": "What Type of Device do you want to display in the Home App?",
|
|
366
366
|
"type": "string",
|
|
367
|
-
"required": true,
|
|
368
367
|
"default": "",
|
|
369
368
|
"placeholder": "outlet",
|
|
370
369
|
"condition": {
|
|
@@ -442,7 +441,6 @@
|
|
|
442
441
|
"mode": {
|
|
443
442
|
"title": "Bot Mode",
|
|
444
443
|
"type": "string",
|
|
445
|
-
"required": true,
|
|
446
444
|
"default": "",
|
|
447
445
|
"oneOf": [
|
|
448
446
|
{
|
|
@@ -477,7 +475,6 @@
|
|
|
477
475
|
"mapping": {
|
|
478
476
|
"title": "Mapping Mode",
|
|
479
477
|
"type": "string",
|
|
480
|
-
"required": true,
|
|
481
478
|
"default": "",
|
|
482
479
|
"oneOf": [
|
|
483
480
|
{
|
|
@@ -817,7 +814,6 @@
|
|
|
817
814
|
"logging": {
|
|
818
815
|
"title": "Device Logging Override Setting",
|
|
819
816
|
"type": "string",
|
|
820
|
-
"required": true,
|
|
821
817
|
"default": "standard",
|
|
822
818
|
"condition": {
|
|
823
819
|
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType);"
|
|
@@ -1040,7 +1036,6 @@
|
|
|
1040
1036
|
"logging": {
|
|
1041
1037
|
"title": "Logging by Device Type",
|
|
1042
1038
|
"type": "string",
|
|
1043
|
-
"required": true,
|
|
1044
1039
|
"default": "",
|
|
1045
1040
|
"condition": {
|
|
1046
1041
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Humidifier'].hide_device);"
|
|
@@ -1262,7 +1257,6 @@
|
|
|
1262
1257
|
"logging": {
|
|
1263
1258
|
"title": "Logging by Device Type",
|
|
1264
1259
|
"type": "string",
|
|
1265
|
-
"required": true,
|
|
1266
1260
|
"default": "",
|
|
1267
1261
|
"condition": {
|
|
1268
1262
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Hub 2'].hide_device);"
|
|
@@ -1333,7 +1327,6 @@
|
|
|
1333
1327
|
"mode": {
|
|
1334
1328
|
"title": "Bot Mode",
|
|
1335
1329
|
"type": "string",
|
|
1336
|
-
"required": true,
|
|
1337
1330
|
"default": "",
|
|
1338
1331
|
"condition": {
|
|
1339
1332
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Bot'] && !model.options.deviceConfig['Bot'].hide_device);"
|
|
@@ -1368,7 +1361,6 @@
|
|
|
1368
1361
|
"type": {
|
|
1369
1362
|
"title": "What Type of Device do you want to display in the Home App?",
|
|
1370
1363
|
"type": "string",
|
|
1371
|
-
"required": true,
|
|
1372
1364
|
"default": "",
|
|
1373
1365
|
"placeholder": "outlet",
|
|
1374
1366
|
"condition": {
|
|
@@ -1587,7 +1579,6 @@
|
|
|
1587
1579
|
"logging": {
|
|
1588
1580
|
"title": "Logging by Device Type",
|
|
1589
1581
|
"type": "string",
|
|
1590
|
-
"required": true,
|
|
1591
1582
|
"default": "",
|
|
1592
1583
|
"condition": {
|
|
1593
1584
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Bot'].hide_device);"
|
|
@@ -1658,7 +1649,6 @@
|
|
|
1658
1649
|
"type": {
|
|
1659
1650
|
"title": "What Type of Device do you want to display in the Home App?",
|
|
1660
1651
|
"type": "string",
|
|
1661
|
-
"required": true,
|
|
1662
1652
|
"default": "",
|
|
1663
1653
|
"placeholder": "outlet",
|
|
1664
1654
|
"condition": {
|
|
@@ -1860,7 +1850,6 @@
|
|
|
1860
1850
|
"logging": {
|
|
1861
1851
|
"title": "Logging by Device Type",
|
|
1862
1852
|
"type": "string",
|
|
1863
|
-
"required": true,
|
|
1864
1853
|
"default": "",
|
|
1865
1854
|
"condition": {
|
|
1866
1855
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Relay Switch 1'].hide_device);"
|
|
@@ -1931,7 +1920,6 @@
|
|
|
1931
1920
|
"type": {
|
|
1932
1921
|
"title": "What Type of Device do you want to display in the Home App?",
|
|
1933
1922
|
"type": "string",
|
|
1934
|
-
"required": true,
|
|
1935
1923
|
"default": "",
|
|
1936
1924
|
"placeholder": "outlet",
|
|
1937
1925
|
"condition": {
|
|
@@ -2133,7 +2121,6 @@
|
|
|
2133
2121
|
"logging": {
|
|
2134
2122
|
"title": "Logging by Device Type",
|
|
2135
2123
|
"type": "string",
|
|
2136
|
-
"required": true,
|
|
2137
2124
|
"default": "",
|
|
2138
2125
|
"condition": {
|
|
2139
2126
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Relay Switch 1PM'].hide_device);"
|
|
@@ -2355,7 +2342,6 @@
|
|
|
2355
2342
|
"logging": {
|
|
2356
2343
|
"title": "Logging by Device Type",
|
|
2357
2344
|
"type": "string",
|
|
2358
|
-
"required": true,
|
|
2359
2345
|
"default": "",
|
|
2360
2346
|
"condition": {
|
|
2361
2347
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Meter'].hide_device);"
|
|
@@ -2577,7 +2563,6 @@
|
|
|
2577
2563
|
"logging": {
|
|
2578
2564
|
"title": "Logging by Device Type",
|
|
2579
2565
|
"type": "string",
|
|
2580
|
-
"required": true,
|
|
2581
2566
|
"default": "",
|
|
2582
2567
|
"condition": {
|
|
2583
2568
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['MeterPlus'].hide_device);"
|
|
@@ -2799,7 +2784,6 @@
|
|
|
2799
2784
|
"logging": {
|
|
2800
2785
|
"title": "Logging by Device Type",
|
|
2801
2786
|
"type": "string",
|
|
2802
|
-
"required": true,
|
|
2803
2787
|
"default": "",
|
|
2804
2788
|
"condition": {
|
|
2805
2789
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Meter Plus (JP)'].hide_device);"
|
|
@@ -3021,7 +3005,6 @@
|
|
|
3021
3005
|
"logging": {
|
|
3022
3006
|
"title": "Logging by Device Type",
|
|
3023
3007
|
"type": "string",
|
|
3024
|
-
"required": true,
|
|
3025
3008
|
"default": "",
|
|
3026
3009
|
"condition": {
|
|
3027
3010
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['WoIOSensor'].hide_device);"
|
|
@@ -3223,7 +3206,6 @@
|
|
|
3223
3206
|
"logging": {
|
|
3224
3207
|
"title": "Logging by Device Type",
|
|
3225
3208
|
"type": "string",
|
|
3226
|
-
"required": true,
|
|
3227
3209
|
"default": "",
|
|
3228
3210
|
"condition": {
|
|
3229
3211
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Water Detector'].hide_device);"
|
|
@@ -3433,7 +3415,6 @@
|
|
|
3433
3415
|
"logging": {
|
|
3434
3416
|
"title": "Logging by Device Type",
|
|
3435
3417
|
"type": "string",
|
|
3436
|
-
"required": true,
|
|
3437
3418
|
"default": "",
|
|
3438
3419
|
"condition": {
|
|
3439
3420
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Water Detector'].hide_device);"
|
|
@@ -3650,7 +3631,6 @@
|
|
|
3650
3631
|
"logging": {
|
|
3651
3632
|
"title": "Logging by Device Type",
|
|
3652
3633
|
"type": "string",
|
|
3653
|
-
"required": true,
|
|
3654
3634
|
"default": "",
|
|
3655
3635
|
"condition": {
|
|
3656
3636
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Contact Sensor'].hide_device);"
|
|
@@ -3943,7 +3923,6 @@
|
|
|
3943
3923
|
"logging": {
|
|
3944
3924
|
"title": "Logging by Device Type",
|
|
3945
3925
|
"type": "string",
|
|
3946
|
-
"required": true,
|
|
3947
3926
|
"default": "",
|
|
3948
3927
|
"condition": {
|
|
3949
3928
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Curtain'].hide_device);"
|
|
@@ -4236,7 +4215,6 @@
|
|
|
4236
4215
|
"logging": {
|
|
4237
4216
|
"title": "Logging by Device Type",
|
|
4238
4217
|
"type": "string",
|
|
4239
|
-
"required": true,
|
|
4240
4218
|
"default": "",
|
|
4241
4219
|
"condition": {
|
|
4242
4220
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Curtain3'].hide_device);"
|
|
@@ -4529,7 +4507,6 @@
|
|
|
4529
4507
|
"logging": {
|
|
4530
4508
|
"title": "Logging by Device Type",
|
|
4531
4509
|
"type": "string",
|
|
4532
|
-
"required": true,
|
|
4533
4510
|
"default": "",
|
|
4534
4511
|
"condition": {
|
|
4535
4512
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['WoRollerShade'].hide_device);"
|
|
@@ -4822,7 +4799,6 @@
|
|
|
4822
4799
|
"logging": {
|
|
4823
4800
|
"title": "Logging by Device Type",
|
|
4824
4801
|
"type": "string",
|
|
4825
|
-
"required": true,
|
|
4826
4802
|
"default": "",
|
|
4827
4803
|
"condition": {
|
|
4828
4804
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Roller Shade'].hide_device);"
|
|
@@ -4900,7 +4876,6 @@
|
|
|
4900
4876
|
"mapping": {
|
|
4901
4877
|
"title": "Mapping Mode",
|
|
4902
4878
|
"type": "string",
|
|
4903
|
-
"required": true,
|
|
4904
4879
|
"default": "",
|
|
4905
4880
|
"oneOf": [
|
|
4906
4881
|
{
|
|
@@ -5162,7 +5137,6 @@
|
|
|
5162
5137
|
"logging": {
|
|
5163
5138
|
"title": "Logging by Device Type",
|
|
5164
5139
|
"type": "string",
|
|
5165
|
-
"required": true,
|
|
5166
5140
|
"default": "",
|
|
5167
5141
|
"condition": {
|
|
5168
5142
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Blind Tilt'].hide_device);"
|
|
@@ -5349,7 +5323,6 @@
|
|
|
5349
5323
|
"logging": {
|
|
5350
5324
|
"title": "Logging by Device Type",
|
|
5351
5325
|
"type": "string",
|
|
5352
|
-
"required": true,
|
|
5353
5326
|
"default": "",
|
|
5354
5327
|
"condition": {
|
|
5355
5328
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Plug'].hide_device);"
|
|
@@ -5536,7 +5509,6 @@
|
|
|
5536
5509
|
"logging": {
|
|
5537
5510
|
"title": "Logging by Device Type",
|
|
5538
5511
|
"type": "string",
|
|
5539
|
-
"required": true,
|
|
5540
5512
|
"default": "",
|
|
5541
5513
|
"condition": {
|
|
5542
5514
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Plug Mini (US)'].hide_device);"
|
|
@@ -5723,7 +5695,6 @@
|
|
|
5723
5695
|
"logging": {
|
|
5724
5696
|
"title": "Logging by Device Type",
|
|
5725
5697
|
"type": "string",
|
|
5726
|
-
"required": true,
|
|
5727
5698
|
"default": "",
|
|
5728
5699
|
"condition": {
|
|
5729
5700
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Plug Mini (JP)'].hide_device);"
|
|
@@ -5924,7 +5895,6 @@
|
|
|
5924
5895
|
"logging": {
|
|
5925
5896
|
"title": "Logging by Device Type",
|
|
5926
5897
|
"type": "string",
|
|
5927
|
-
"required": true,
|
|
5928
5898
|
"default": "",
|
|
5929
5899
|
"condition": {
|
|
5930
5900
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Smart Lock'].hide_device);"
|
|
@@ -6125,7 +6095,6 @@
|
|
|
6125
6095
|
"logging": {
|
|
6126
6096
|
"title": "Logging by Device Type",
|
|
6127
6097
|
"type": "string",
|
|
6128
|
-
"required": true,
|
|
6129
6098
|
"default": "",
|
|
6130
6099
|
"condition": {
|
|
6131
6100
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Smart Lock Pro'].hide_device);"
|
|
@@ -6330,7 +6299,6 @@
|
|
|
6330
6299
|
"logging": {
|
|
6331
6300
|
"title": "Logging by Device Type",
|
|
6332
6301
|
"type": "string",
|
|
6333
|
-
"required": true,
|
|
6334
6302
|
"default": "",
|
|
6335
6303
|
"condition": {
|
|
6336
6304
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Color Bulb'].hide_device);"
|
|
@@ -6517,7 +6485,6 @@
|
|
|
6517
6485
|
"logging": {
|
|
6518
6486
|
"title": "Logging by Device Type",
|
|
6519
6487
|
"type": "string",
|
|
6520
|
-
"required": true,
|
|
6521
6488
|
"default": "",
|
|
6522
6489
|
"condition": {
|
|
6523
6490
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+'].hide_device);"
|
|
@@ -6704,7 +6671,6 @@
|
|
|
6704
6671
|
"logging": {
|
|
6705
6672
|
"title": "Logging by Device Type",
|
|
6706
6673
|
"type": "string",
|
|
6707
|
-
"required": true,
|
|
6708
6674
|
"default": "",
|
|
6709
6675
|
"condition": {
|
|
6710
6676
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+ Pro'].hide_device);"
|
|
@@ -6891,7 +6857,6 @@
|
|
|
6891
6857
|
"logging": {
|
|
6892
6858
|
"title": "Logging by Device Type",
|
|
6893
6859
|
"type": "string",
|
|
6894
|
-
"required": true,
|
|
6895
6860
|
"default": "",
|
|
6896
6861
|
"condition": {
|
|
6897
6862
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['WoSweeper'].hide_device);"
|
|
@@ -7078,7 +7043,6 @@
|
|
|
7078
7043
|
"logging": {
|
|
7079
7044
|
"title": "Logging by Device Type",
|
|
7080
7045
|
"type": "string",
|
|
7081
|
-
"required": true,
|
|
7082
7046
|
"default": "",
|
|
7083
7047
|
"condition": {
|
|
7084
7048
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['WoSweeperMini'].hide_device);"
|
|
@@ -7265,7 +7229,6 @@
|
|
|
7265
7229
|
"logging": {
|
|
7266
7230
|
"title": "Logging by Device Type",
|
|
7267
7231
|
"type": "string",
|
|
7268
|
-
"required": true,
|
|
7269
7232
|
"default": "",
|
|
7270
7233
|
"condition": {
|
|
7271
7234
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Robot Vacuum Cleaner S1'].hide_device);"
|
|
@@ -7452,7 +7415,6 @@
|
|
|
7452
7415
|
"logging": {
|
|
7453
7416
|
"title": "Logging by Device Type",
|
|
7454
7417
|
"type": "string",
|
|
7455
|
-
"required": true,
|
|
7456
7418
|
"default": "",
|
|
7457
7419
|
"condition": {
|
|
7458
7420
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Robot Vacuum Cleaner S1 Plus'].hide_device);"
|
|
@@ -7639,7 +7601,6 @@
|
|
|
7639
7601
|
"logging": {
|
|
7640
7602
|
"title": "Logging by Device Type",
|
|
7641
7603
|
"type": "string",
|
|
7642
|
-
"required": true,
|
|
7643
7604
|
"default": "",
|
|
7644
7605
|
"condition": {
|
|
7645
7606
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Robot Vacuum Cleaner S10'].hide_device);"
|
|
@@ -7844,7 +7805,6 @@
|
|
|
7844
7805
|
"logging": {
|
|
7845
7806
|
"title": "Logging by Device Type",
|
|
7846
7807
|
"type": "string",
|
|
7847
|
-
"required": true,
|
|
7848
7808
|
"default": "",
|
|
7849
7809
|
"condition": {
|
|
7850
7810
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Ceiling Light'].hide_device);"
|
|
@@ -8049,7 +8009,6 @@
|
|
|
8049
8009
|
"logging": {
|
|
8050
8010
|
"title": "Logging by Device Type",
|
|
8051
8011
|
"type": "string",
|
|
8052
|
-
"required": true,
|
|
8053
8012
|
"default": "",
|
|
8054
8013
|
"condition": {
|
|
8055
8014
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Ceiling Light Pro'].hide_device);"
|
|
@@ -8254,7 +8213,6 @@
|
|
|
8254
8213
|
"logging": {
|
|
8255
8214
|
"title": "Logging by Device Type",
|
|
8256
8215
|
"type": "string",
|
|
8257
|
-
"required": true,
|
|
8258
8216
|
"default": "",
|
|
8259
8217
|
"condition": {
|
|
8260
8218
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Strip Light'].hide_device);"
|
|
@@ -8450,7 +8408,6 @@
|
|
|
8450
8408
|
"logging": {
|
|
8451
8409
|
"title": "Logging by Device Type",
|
|
8452
8410
|
"type": "string",
|
|
8453
|
-
"required": true,
|
|
8454
8411
|
"default": "",
|
|
8455
8412
|
"condition": {
|
|
8456
8413
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Battery Circulator Fan'].hide_device);"
|
|
@@ -8738,7 +8695,6 @@
|
|
|
8738
8695
|
"type": {
|
|
8739
8696
|
"title": "What Type of Device do you want to display in the Home App?",
|
|
8740
8697
|
"type": "string",
|
|
8741
|
-
"required": true,
|
|
8742
8698
|
"default": "",
|
|
8743
8699
|
"oneOf": [
|
|
8744
8700
|
{
|
|
@@ -9053,7 +9009,6 @@
|
|
|
9053
9009
|
"logging": {
|
|
9054
9010
|
"title": "Device Logging Override Setting",
|
|
9055
9011
|
"type": "string",
|
|
9056
|
-
"required": true,
|
|
9057
9012
|
"default": "",
|
|
9058
9013
|
"oneOf": [
|
|
9059
9014
|
{
|
|
@@ -9187,7 +9142,6 @@
|
|
|
9187
9142
|
"logging": {
|
|
9188
9143
|
"title": "Logging by Device Type",
|
|
9189
9144
|
"type": "string",
|
|
9190
|
-
"required": true,
|
|
9191
9145
|
"default": "",
|
|
9192
9146
|
"condition": {
|
|
9193
9147
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['TV'].hide_device);"
|
|
@@ -9316,7 +9270,6 @@
|
|
|
9316
9270
|
"logging": {
|
|
9317
9271
|
"title": "Logging by Device Type",
|
|
9318
9272
|
"type": "string",
|
|
9319
|
-
"required": true,
|
|
9320
9273
|
"default": "",
|
|
9321
9274
|
"condition": {
|
|
9322
9275
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY TV'].hide_device);"
|
|
@@ -9445,7 +9398,6 @@
|
|
|
9445
9398
|
"logging": {
|
|
9446
9399
|
"title": "Logging by Device Type",
|
|
9447
9400
|
"type": "string",
|
|
9448
|
-
"required": true,
|
|
9449
9401
|
"default": "",
|
|
9450
9402
|
"condition": {
|
|
9451
9403
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Projector'].hide_device);"
|
|
@@ -9574,7 +9526,6 @@
|
|
|
9574
9526
|
"logging": {
|
|
9575
9527
|
"title": "Logging by Device Type",
|
|
9576
9528
|
"type": "string",
|
|
9577
|
-
"required": true,
|
|
9578
9529
|
"default": "",
|
|
9579
9530
|
"condition": {
|
|
9580
9531
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY Projector'].hide_device);"
|
|
@@ -9703,7 +9654,6 @@
|
|
|
9703
9654
|
"logging": {
|
|
9704
9655
|
"title": "Logging by Device Type",
|
|
9705
9656
|
"type": "string",
|
|
9706
|
-
"required": true,
|
|
9707
9657
|
"default": "",
|
|
9708
9658
|
"condition": {
|
|
9709
9659
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Set Top Box'].hide_device);"
|
|
@@ -9832,7 +9782,6 @@
|
|
|
9832
9782
|
"logging": {
|
|
9833
9783
|
"title": "Logging by Device Type",
|
|
9834
9784
|
"type": "string",
|
|
9835
|
-
"required": true,
|
|
9836
9785
|
"default": "",
|
|
9837
9786
|
"condition": {
|
|
9838
9787
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY Set Top Box'].hide_device);"
|
|
@@ -9961,7 +9910,6 @@
|
|
|
9961
9910
|
"logging": {
|
|
9962
9911
|
"title": "Logging by Device Type",
|
|
9963
9912
|
"type": "string",
|
|
9964
|
-
"required": true,
|
|
9965
9913
|
"default": "",
|
|
9966
9914
|
"condition": {
|
|
9967
9915
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['IPTV'].hide_device);"
|
|
@@ -10090,7 +10038,6 @@
|
|
|
10090
10038
|
"logging": {
|
|
10091
10039
|
"title": "Logging by Device Type",
|
|
10092
10040
|
"type": "string",
|
|
10093
|
-
"required": true,
|
|
10094
10041
|
"default": "",
|
|
10095
10042
|
"condition": {
|
|
10096
10043
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY IPTV'].hide_device);"
|
|
@@ -10219,7 +10166,6 @@
|
|
|
10219
10166
|
"logging": {
|
|
10220
10167
|
"title": "Logging by Device Type",
|
|
10221
10168
|
"type": "string",
|
|
10222
|
-
"required": true,
|
|
10223
10169
|
"default": "",
|
|
10224
10170
|
"condition": {
|
|
10225
10171
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DVD'].hide_device);"
|
|
@@ -10348,7 +10294,6 @@
|
|
|
10348
10294
|
"logging": {
|
|
10349
10295
|
"title": "Logging by Device Type",
|
|
10350
10296
|
"type": "string",
|
|
10351
|
-
"required": true,
|
|
10352
10297
|
"default": "",
|
|
10353
10298
|
"condition": {
|
|
10354
10299
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY DVD'].hide_device);"
|
|
@@ -10477,7 +10422,6 @@
|
|
|
10477
10422
|
"logging": {
|
|
10478
10423
|
"title": "Logging by Device Type",
|
|
10479
10424
|
"type": "string",
|
|
10480
|
-
"required": true,
|
|
10481
10425
|
"default": "",
|
|
10482
10426
|
"condition": {
|
|
10483
10427
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Speaker'].hide_device);"
|
|
@@ -10606,7 +10550,6 @@
|
|
|
10606
10550
|
"logging": {
|
|
10607
10551
|
"title": "Logging by Device Type",
|
|
10608
10552
|
"type": "string",
|
|
10609
|
-
"required": true,
|
|
10610
10553
|
"default": "",
|
|
10611
10554
|
"condition": {
|
|
10612
10555
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY Speaker'].hide_device);"
|
|
@@ -10735,7 +10678,6 @@
|
|
|
10735
10678
|
"logging": {
|
|
10736
10679
|
"title": "Logging by Device Type",
|
|
10737
10680
|
"type": "string",
|
|
10738
|
-
"required": true,
|
|
10739
10681
|
"default": "",
|
|
10740
10682
|
"condition": {
|
|
10741
10683
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Fan'].hide_device);"
|
|
@@ -10864,7 +10806,6 @@
|
|
|
10864
10806
|
"logging": {
|
|
10865
10807
|
"title": "Logging by Device Type",
|
|
10866
10808
|
"type": "string",
|
|
10867
|
-
"required": true,
|
|
10868
10809
|
"default": "",
|
|
10869
10810
|
"condition": {
|
|
10870
10811
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY Fan'].hide_device);"
|
|
@@ -10993,7 +10934,6 @@
|
|
|
10993
10934
|
"logging": {
|
|
10994
10935
|
"title": "Logging by Device Type",
|
|
10995
10936
|
"type": "string",
|
|
10996
|
-
"required": true,
|
|
10997
10937
|
"default": "",
|
|
10998
10938
|
"condition": {
|
|
10999
10939
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Air Conditioner'].hide_device);"
|
|
@@ -11122,7 +11062,6 @@
|
|
|
11122
11062
|
"logging": {
|
|
11123
11063
|
"title": "Logging by Device Type",
|
|
11124
11064
|
"type": "string",
|
|
11125
|
-
"required": true,
|
|
11126
11065
|
"default": "",
|
|
11127
11066
|
"condition": {
|
|
11128
11067
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY Air Conditioner'].hide_device);"
|
|
@@ -11251,7 +11190,6 @@
|
|
|
11251
11190
|
"logging": {
|
|
11252
11191
|
"title": "Logging by Device Type",
|
|
11253
11192
|
"type": "string",
|
|
11254
|
-
"required": true,
|
|
11255
11193
|
"default": "",
|
|
11256
11194
|
"condition": {
|
|
11257
11195
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Light'].hide_device);"
|
|
@@ -11380,7 +11318,6 @@
|
|
|
11380
11318
|
"logging": {
|
|
11381
11319
|
"title": "Logging by Device Type",
|
|
11382
11320
|
"type": "string",
|
|
11383
|
-
"required": true,
|
|
11384
11321
|
"default": "",
|
|
11385
11322
|
"condition": {
|
|
11386
11323
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY Light'].hide_device);"
|
|
@@ -11509,7 +11446,6 @@
|
|
|
11509
11446
|
"logging": {
|
|
11510
11447
|
"title": "Logging by Device Type",
|
|
11511
11448
|
"type": "string",
|
|
11512
|
-
"required": true,
|
|
11513
11449
|
"default": "",
|
|
11514
11450
|
"condition": {
|
|
11515
11451
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Air Purifier'].hide_device);"
|
|
@@ -11638,7 +11574,6 @@
|
|
|
11638
11574
|
"logging": {
|
|
11639
11575
|
"title": "Logging by Device Type",
|
|
11640
11576
|
"type": "string",
|
|
11641
|
-
"required": true,
|
|
11642
11577
|
"default": "",
|
|
11643
11578
|
"condition": {
|
|
11644
11579
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY Air Purifier'].hide_device);"
|
|
@@ -11767,7 +11702,6 @@
|
|
|
11767
11702
|
"logging": {
|
|
11768
11703
|
"title": "Logging by Device Type",
|
|
11769
11704
|
"type": "string",
|
|
11770
|
-
"required": true,
|
|
11771
11705
|
"default": "",
|
|
11772
11706
|
"condition": {
|
|
11773
11707
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Water Heater'].hide_device);"
|
|
@@ -11896,7 +11830,6 @@
|
|
|
11896
11830
|
"logging": {
|
|
11897
11831
|
"title": "Logging by Device Type",
|
|
11898
11832
|
"type": "string",
|
|
11899
|
-
"required": true,
|
|
11900
11833
|
"default": "",
|
|
11901
11834
|
"condition": {
|
|
11902
11835
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY Water Heater'].hide_device);"
|
|
@@ -12025,7 +11958,6 @@
|
|
|
12025
11958
|
"logging": {
|
|
12026
11959
|
"title": "Logging by Device Type",
|
|
12027
11960
|
"type": "string",
|
|
12028
|
-
"required": true,
|
|
12029
11961
|
"default": "",
|
|
12030
11962
|
"condition": {
|
|
12031
11963
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Vacuum Cleaner'].hide_device);"
|
|
@@ -12154,7 +12086,6 @@
|
|
|
12154
12086
|
"logging": {
|
|
12155
12087
|
"title": "Logging by Device Type",
|
|
12156
12088
|
"type": "string",
|
|
12157
|
-
"required": true,
|
|
12158
12089
|
"default": "",
|
|
12159
12090
|
"condition": {
|
|
12160
12091
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY Vacuum Cleaner'].hide_device);"
|
|
@@ -12283,7 +12214,6 @@
|
|
|
12283
12214
|
"logging": {
|
|
12284
12215
|
"title": "Logging by Device Type",
|
|
12285
12216
|
"type": "string",
|
|
12286
|
-
"required": true,
|
|
12287
12217
|
"default": "",
|
|
12288
12218
|
"condition": {
|
|
12289
12219
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Camera'].hide_device);"
|
|
@@ -12412,7 +12342,6 @@
|
|
|
12412
12342
|
"logging": {
|
|
12413
12343
|
"title": "Logging by Device Type",
|
|
12414
12344
|
"type": "string",
|
|
12415
|
-
"required": true,
|
|
12416
12345
|
"default": "",
|
|
12417
12346
|
"condition": {
|
|
12418
12347
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY Camera'].hide_device);"
|
|
@@ -12541,7 +12470,6 @@
|
|
|
12541
12470
|
"logging": {
|
|
12542
12471
|
"title": "Logging by Device Type",
|
|
12543
12472
|
"type": "string",
|
|
12544
|
-
"required": true,
|
|
12545
12473
|
"default": "",
|
|
12546
12474
|
"condition": {
|
|
12547
12475
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Others'].hide_device);"
|
|
@@ -12671,8 +12599,7 @@
|
|
|
12671
12599
|
"logging": {
|
|
12672
12600
|
"title": "Logging Setting",
|
|
12673
12601
|
"type": "string",
|
|
12674
|
-
"
|
|
12675
|
-
"default": "",
|
|
12602
|
+
"default": "standard",
|
|
12676
12603
|
"oneOf": [
|
|
12677
12604
|
{
|
|
12678
12605
|
"title": "Debug Logging",
|
|
@@ -12680,12 +12607,6 @@
|
|
|
12680
12607
|
"debug"
|
|
12681
12608
|
]
|
|
12682
12609
|
},
|
|
12683
|
-
{
|
|
12684
|
-
"title": "Default Logging",
|
|
12685
|
-
"enum": [
|
|
12686
|
-
""
|
|
12687
|
-
]
|
|
12688
|
-
},
|
|
12689
12610
|
{
|
|
12690
12611
|
"title": "No Logging",
|
|
12691
12612
|
"enum": [
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
<!DOCTYPE html><html class="default" lang="en" data-base=".."><head><style>body { visibility: hidden; }</style><meta charset="utf-8"><meta http-equiv="x-ua-compatible" content="IE=edge"><title>default | @switchbot/homebridge-switchbot</title><meta name="description" content="Documentation for @switchbot/homebridge-switchbot"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="../assets/style.css"><link rel="stylesheet" href="../assets/highlight.css"><script defer="" src="../assets/main.js"></script><script async="" src="../assets/icons.js" id="tsd-icons-script"></script><link rel="stylesheet" href="../assets/dmt/dmt-components.css"><link rel="stylesheet" href="../assets/dmt/dmt-theme.css"><script src="../assets/dmt/dmt-components.js" type="module"></script><noscript><style>body { visibility: visible; }</style></noscript></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";</script><div class="overlay"></div>
|
|
2
|
-
<main><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field" id="dmt-search-main"></div><div class="field" id="dmt-toolbar"><a href="../index.html" class="title">@switchbot/homebridge-switchbot</a></div></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main" tabindex="-1"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"></ul><div class="dmt-title-header-flex"><h1>Function default</h1></div></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="default" class="tsd-anchor"></a><span class="tsd-kind-call-signature">default</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">api</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">API</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#default" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">api</span>: <span class="tsd-signature-type">API</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OpenWonderLabs/homebridge-switchbot/blob/
|
|
2
|
+
<main><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field" id="dmt-search-main"></div><div class="field" id="dmt-toolbar"><a href="../index.html" class="title">@switchbot/homebridge-switchbot</a></div></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main" tabindex="-1"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"></ul><div class="dmt-title-header-flex"><h1>Function default</h1></div></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="default" class="tsd-anchor"></a><span class="tsd-kind-call-signature">default</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">api</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">API</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#default" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">api</span>: <span class="tsd-signature-type">API</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OpenWonderLabs/homebridge-switchbot/blob/92317be236d295931222e0c4f0d5208738450461/src/index.ts#L11">index.ts:11</a></li></ul></aside></li></ul></section></div><div class="col-sidebar" tabindex="-1"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked=""><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu" tabindex="-1"><nav class="tsd-navigation"><a href="../modules.html">@switchbot/homebridge-switchbot</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"></ul></nav></div></div></div></main></body></html>
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@switchbot/homebridge-switchbot",
|
|
3
3
|
"displayName": "SwitchBot",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "4.3.1-beta.
|
|
5
|
+
"version": "4.3.1-beta.1",
|
|
6
6
|
"description": "The SwitchBot plugin allows you to access your SwitchBot device(s) from HomeKit.",
|
|
7
7
|
"author": "SwitchBot <support@wondertechlabs.com> (https://github.com/SwitchBot)",
|
|
8
8
|
"contributors": [
|