@switchbot/homebridge-switchbot 1.3.1-beta.1 → 1.3.1-beta.2
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 +3 -3
- package/package.json +1 -1
package/config.schema.json
CHANGED
|
@@ -561,14 +561,14 @@
|
|
|
561
561
|
"type": "object",
|
|
562
562
|
"properties": {
|
|
563
563
|
"swing_mode": {
|
|
564
|
-
"title": "Enable Swing Mode
|
|
564
|
+
"title": "Enable Swing Mode",
|
|
565
565
|
"type": "boolean",
|
|
566
566
|
"condition": {
|
|
567
567
|
"functionBody": "return (model.options && model.options.irdevices && !model.options.irdevices[arrayIndices].hide_device && (model.options.irdevices[arrayIndices].configRemoteType === 'Fan' || model.options.irdevices[arrayIndices].configRemoteType === 'DIY Fan') && model.options.irdevices[arrayIndices].deviceId);"
|
|
568
568
|
}
|
|
569
569
|
},
|
|
570
570
|
"rotation_speed": {
|
|
571
|
-
"title": "Enable Rotation Speed
|
|
571
|
+
"title": "Enable Rotation Speed",
|
|
572
572
|
"type": "boolean",
|
|
573
573
|
"condition": {
|
|
574
574
|
"functionBody": "return (model.options && model.options.irdevices && !model.options.irdevices[arrayIndices].hide_device && (model.options.irdevices[arrayIndices].configRemoteType === 'Fan' || model.options.irdevices[arrayIndices].configRemoteType === 'DIY Fan') && model.options.irdevices[arrayIndices].deviceId);"
|
|
@@ -643,7 +643,7 @@
|
|
|
643
643
|
"type": "string",
|
|
644
644
|
"placeholder": "Off",
|
|
645
645
|
"condition": {
|
|
646
|
-
"functionBody": "return (model.options && model.options.irdevices && !model.options.irdevices[arrayIndices].hide_device && model.options.irdevices[arrayIndices].configRemoteType === 'Others' && model.options.irdevices[arrayIndices].deviceId && model.options.irdevices[arrayIndices].other &&
|
|
646
|
+
"functionBody": "return (model.options && model.options.irdevices && !model.options.irdevices[arrayIndices].hide_device && model.options.irdevices[arrayIndices].configRemoteType === 'Others' && model.options.irdevices[arrayIndices].deviceId && model.options.irdevices[arrayIndices].other && model.options.irdevices[arrayIndices].other.deviceType);"
|
|
647
647
|
}
|
|
648
648
|
}
|
|
649
649
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "Homebridge SwitchBot",
|
|
3
3
|
"name": "@switchbot/homebridge-switchbot",
|
|
4
|
-
"version": "1.3.1-beta.
|
|
4
|
+
"version": "1.3.1-beta.2",
|
|
5
5
|
"description": "The [Homebridge](https://homebridge.io) SwitchBot plugin allows you to access your [SwitchBot](https://www.switch-bot.com) device(s) from HomeKit.",
|
|
6
6
|
"author": "SwitchBot <support@wondertechlabs.com> (https://github.com/SwitchBot)",
|
|
7
7
|
"license": "ISC",
|