@switchbot/homebridge-switchbot 4.1.6-beta.5 → 4.1.6-beta.6
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 +24 -24
- package/package.json +1 -1
package/config.schema.json
CHANGED
|
@@ -605,7 +605,7 @@
|
|
|
605
605
|
"title": "Set Minimum Step",
|
|
606
606
|
"type": "number",
|
|
607
607
|
"placeholder": "1",
|
|
608
|
-
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
|
|
608
|
+
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
|
|
609
609
|
"condition": {
|
|
610
610
|
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Strip Light' || model.options.devices[arrayIndices].configDeviceType === 'Color Bulb' || model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'WoRollerShade' || model.options.devices[arrayIndices].configDeviceType === 'Roller Shade' || model.options.devices[arrayIndices].configDeviceType === 'Humidifier') && model.options.devices[arrayIndices].deviceId);"
|
|
611
611
|
}
|
|
@@ -614,7 +614,7 @@
|
|
|
614
614
|
"title": "Set Minimum Open State",
|
|
615
615
|
"type": "number",
|
|
616
616
|
"placeholder": "0",
|
|
617
|
-
"description": "Sets the minimum percentage before needed to set to Open",
|
|
617
|
+
"description": "Sets the minimum percentage before needed to set to Open.",
|
|
618
618
|
"condition": {
|
|
619
619
|
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'WoRollerShade' || model.options.devices[arrayIndices].configDeviceType === 'Roller Shade' || model.options.devices[arrayIndices].configDeviceType === 'Hub 2' || model.options.devices[arrayIndices].configDeviceType === 'Motion Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Contact Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Humidifier' || model.options.devices[arrayIndices].configDeviceType === 'Strip Light' || model.options.devices[arrayIndices].configDeviceType === 'Ceiling Light' || model.options.devices[arrayIndices].configDeviceType === 'Ceiling Light Pro') && model.options.devices[arrayIndices].deviceId);"
|
|
620
620
|
}
|
|
@@ -623,7 +623,7 @@
|
|
|
623
623
|
"title": "Set Maximum Close State",
|
|
624
624
|
"type": "number",
|
|
625
625
|
"placeholder": "100",
|
|
626
|
-
"description": "Sets the maximum percentage before needing to set to Closed",
|
|
626
|
+
"description": "Sets the maximum percentage before needing to set to Closed.",
|
|
627
627
|
"condition": {
|
|
628
628
|
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'WoRollerShade' || model.options.devices[arrayIndices].configDeviceType === 'Roller Shade' || model.options.devices[arrayIndices].configDeviceType === 'Hub 2' || model.options.devices[arrayIndices].configDeviceType === 'Motion Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Contact Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Humidifier' || model.options.devices[arrayIndices].configDeviceType === 'Strip Light' || model.options.devices[arrayIndices].configDeviceType === 'Ceiling Light' || model.options.devices[arrayIndices].configDeviceType === 'Ceiling Light Pro') && model.options.devices[arrayIndices].deviceId);"
|
|
629
629
|
}
|
|
@@ -883,7 +883,7 @@
|
|
|
883
883
|
"title": "Set Minimum Step",
|
|
884
884
|
"type": "number",
|
|
885
885
|
"placeholder": "1",
|
|
886
|
-
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
|
|
886
|
+
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
|
|
887
887
|
"condition": {
|
|
888
888
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Humidifier'].hide_device);"
|
|
889
889
|
}
|
|
@@ -3095,7 +3095,7 @@
|
|
|
3095
3095
|
"title": "Set Minimum Open State",
|
|
3096
3096
|
"type": "number",
|
|
3097
3097
|
"placeholder": "0",
|
|
3098
|
-
"description": "Sets the minimum percentage before needed to set to Open",
|
|
3098
|
+
"description": "Sets the minimum percentage before needed to set to Open.",
|
|
3099
3099
|
"condition": {
|
|
3100
3100
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Curtain'].hide_device);"
|
|
3101
3101
|
}
|
|
@@ -3104,7 +3104,7 @@
|
|
|
3104
3104
|
"title": "Set Maximum Close State",
|
|
3105
3105
|
"type": "number",
|
|
3106
3106
|
"placeholder": "100",
|
|
3107
|
-
"description": "Sets the maximum percentage before needing to set to Closed",
|
|
3107
|
+
"description": "Sets the maximum percentage before needing to set to Closed.",
|
|
3108
3108
|
"condition": {
|
|
3109
3109
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Curtain'].hide_device);"
|
|
3110
3110
|
}
|
|
@@ -3113,7 +3113,7 @@
|
|
|
3113
3113
|
"title": "Set Minimum Step",
|
|
3114
3114
|
"type": "number",
|
|
3115
3115
|
"placeholder": "1",
|
|
3116
|
-
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
|
|
3116
|
+
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
|
|
3117
3117
|
"condition": {
|
|
3118
3118
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Curtain'].hide_device);"
|
|
3119
3119
|
}
|
|
@@ -3381,7 +3381,7 @@
|
|
|
3381
3381
|
"title": "Set Minimum Open State",
|
|
3382
3382
|
"type": "number",
|
|
3383
3383
|
"placeholder": "0",
|
|
3384
|
-
"description": "Sets the minimum percentage before needed to set to Open",
|
|
3384
|
+
"description": "Sets the minimum percentage before needed to set to Open.",
|
|
3385
3385
|
"condition": {
|
|
3386
3386
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Curtain3'].hide_device);"
|
|
3387
3387
|
}
|
|
@@ -3390,7 +3390,7 @@
|
|
|
3390
3390
|
"title": "Set Maximum Close State",
|
|
3391
3391
|
"type": "number",
|
|
3392
3392
|
"placeholder": "100",
|
|
3393
|
-
"description": "Sets the maximum percentage before needing to set to Closed",
|
|
3393
|
+
"description": "Sets the maximum percentage before needing to set to Closed.",
|
|
3394
3394
|
"condition": {
|
|
3395
3395
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Curtain3'].hide_device);"
|
|
3396
3396
|
}
|
|
@@ -3399,7 +3399,7 @@
|
|
|
3399
3399
|
"title": "Set Minimum Step",
|
|
3400
3400
|
"type": "number",
|
|
3401
3401
|
"placeholder": "1",
|
|
3402
|
-
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
|
|
3402
|
+
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
|
|
3403
3403
|
"condition": {
|
|
3404
3404
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Curtain3'].hide_device);"
|
|
3405
3405
|
}
|
|
@@ -3667,7 +3667,7 @@
|
|
|
3667
3667
|
"title": "Set Minimum Open State",
|
|
3668
3668
|
"type": "number",
|
|
3669
3669
|
"placeholder": "0",
|
|
3670
|
-
"description": "Sets the minimum percentage before needed to set to Open",
|
|
3670
|
+
"description": "Sets the minimum percentage before needed to set to Open.",
|
|
3671
3671
|
"condition": {
|
|
3672
3672
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['WoRollerShade'].hide_device);"
|
|
3673
3673
|
}
|
|
@@ -3676,7 +3676,7 @@
|
|
|
3676
3676
|
"title": "Set Maximum Close State",
|
|
3677
3677
|
"type": "number",
|
|
3678
3678
|
"placeholder": "100",
|
|
3679
|
-
"description": "Sets the maximum percentage before needing to set to Closed",
|
|
3679
|
+
"description": "Sets the maximum percentage before needing to set to Closed.",
|
|
3680
3680
|
"condition": {
|
|
3681
3681
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['WoRollerShade'].hide_device);"
|
|
3682
3682
|
}
|
|
@@ -3685,7 +3685,7 @@
|
|
|
3685
3685
|
"title": "Set Minimum Step",
|
|
3686
3686
|
"type": "number",
|
|
3687
3687
|
"placeholder": "1",
|
|
3688
|
-
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
|
|
3688
|
+
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
|
|
3689
3689
|
"condition": {
|
|
3690
3690
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['WoRollerShade'].hide_device);"
|
|
3691
3691
|
}
|
|
@@ -3953,7 +3953,7 @@
|
|
|
3953
3953
|
"title": "Set Minimum Open State",
|
|
3954
3954
|
"type": "number",
|
|
3955
3955
|
"placeholder": "0",
|
|
3956
|
-
"description": "Sets the minimum percentage before needed to set to Open",
|
|
3956
|
+
"description": "Sets the minimum percentage before needed to set to Open.",
|
|
3957
3957
|
"condition": {
|
|
3958
3958
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Roller Shade'].hide_device);"
|
|
3959
3959
|
}
|
|
@@ -3962,7 +3962,7 @@
|
|
|
3962
3962
|
"title": "Set Maximum Close State",
|
|
3963
3963
|
"type": "number",
|
|
3964
3964
|
"placeholder": "100",
|
|
3965
|
-
"description": "Sets the maximum percentage before needing to set to Closed",
|
|
3965
|
+
"description": "Sets the maximum percentage before needing to set to Closed.",
|
|
3966
3966
|
"condition": {
|
|
3967
3967
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Roller Shade'].hide_device);"
|
|
3968
3968
|
}
|
|
@@ -3971,7 +3971,7 @@
|
|
|
3971
3971
|
"title": "Set Minimum Step",
|
|
3972
3972
|
"type": "number",
|
|
3973
3973
|
"placeholder": "1",
|
|
3974
|
-
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
|
|
3974
|
+
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
|
|
3975
3975
|
"condition": {
|
|
3976
3976
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Roller Shade'].hide_device);"
|
|
3977
3977
|
}
|
|
@@ -4274,7 +4274,7 @@
|
|
|
4274
4274
|
"title": "Set Minimum Open State",
|
|
4275
4275
|
"type": "number",
|
|
4276
4276
|
"placeholder": "0",
|
|
4277
|
-
"description": "Sets the minimum percentage before needed to set to Open",
|
|
4277
|
+
"description": "Sets the minimum percentage before needed to set to Open.",
|
|
4278
4278
|
"condition": {
|
|
4279
4279
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Blind Tilt'].hide_device);"
|
|
4280
4280
|
}
|
|
@@ -4283,7 +4283,7 @@
|
|
|
4283
4283
|
"title": "Set Maximum Close State",
|
|
4284
4284
|
"type": "number",
|
|
4285
4285
|
"placeholder": "100",
|
|
4286
|
-
"description": "Sets the maximum percentage before needing to set to Closed",
|
|
4286
|
+
"description": "Sets the maximum percentage before needing to set to Closed.",
|
|
4287
4287
|
"condition": {
|
|
4288
4288
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Blind Tilt'].hide_device);"
|
|
4289
4289
|
}
|
|
@@ -4292,7 +4292,7 @@
|
|
|
4292
4292
|
"title": "Set Minimum Step",
|
|
4293
4293
|
"type": "number",
|
|
4294
4294
|
"placeholder": "1",
|
|
4295
|
-
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
|
|
4295
|
+
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
|
|
4296
4296
|
"condition": {
|
|
4297
4297
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Blind Tilt'].hide_device);"
|
|
4298
4298
|
}
|
|
@@ -5458,7 +5458,7 @@
|
|
|
5458
5458
|
"title": "Set Minimum Step",
|
|
5459
5459
|
"type": "number",
|
|
5460
5460
|
"placeholder": "1",
|
|
5461
|
-
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
|
|
5461
|
+
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
|
|
5462
5462
|
"condition": {
|
|
5463
5463
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Color Bulb'].hide_device);"
|
|
5464
5464
|
}
|
|
@@ -6916,7 +6916,7 @@
|
|
|
6916
6916
|
"title": "Set Minimum Step",
|
|
6917
6917
|
"type": "number",
|
|
6918
6918
|
"placeholder": "1",
|
|
6919
|
-
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
|
|
6919
|
+
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
|
|
6920
6920
|
"condition": {
|
|
6921
6921
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Ceiling Light'].hide_device);"
|
|
6922
6922
|
}
|
|
@@ -7114,7 +7114,7 @@
|
|
|
7114
7114
|
"title": "Set Minimum Step",
|
|
7115
7115
|
"type": "number",
|
|
7116
7116
|
"placeholder": "1",
|
|
7117
|
-
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
|
|
7117
|
+
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
|
|
7118
7118
|
"condition": {
|
|
7119
7119
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Ceiling Light Pro'].hide_device);"
|
|
7120
7120
|
}
|
|
@@ -7312,7 +7312,7 @@
|
|
|
7312
7312
|
"title": "Set Minimum Step",
|
|
7313
7313
|
"type": "number",
|
|
7314
7314
|
"placeholder": "1",
|
|
7315
|
-
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
|
|
7315
|
+
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
|
|
7316
7316
|
"condition": {
|
|
7317
7317
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Strip Light'].hide_device);"
|
|
7318
7318
|
}
|
|
@@ -7510,7 +7510,7 @@
|
|
|
7510
7510
|
"title": "Set Minimum Step",
|
|
7511
7511
|
"type": "number",
|
|
7512
7512
|
"placeholder": "1",
|
|
7513
|
-
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
|
|
7513
|
+
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
|
|
7514
7514
|
"condition": {
|
|
7515
7515
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Battery Circulator Fan'].hide_device);"
|
|
7516
7516
|
}
|
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.1.6-beta.
|
|
5
|
+
"version": "4.1.6-beta.6",
|
|
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": [
|