@switchbot/homebridge-switchbot 3.3.1-beta.1 → 3.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.
@@ -167,6 +167,12 @@
167
167
  "Smart Lock"
168
168
  ]
169
169
  },
170
+ {
171
+ "title": "Smart Lock Pro",
172
+ "enum": [
173
+ "Smart Lock Pro"
174
+ ]
175
+ },
170
176
  {
171
177
  "title": "Strip Light",
172
178
  "enum": [
@@ -803,14 +809,14 @@
803
809
  "title": "Hide Lock's Contact Sensor",
804
810
  "type": "boolean",
805
811
  "condition": {
806
- "functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Smart Lock' && model.options.devices[arrayIndices].deviceId);"
812
+ "functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Smart Lock' && model.options.devices[arrayIndices].configDeviceType === 'Smart Lock Pro' && model.options.devices[arrayIndices].deviceId);"
807
813
  }
808
814
  },
809
815
  "activate_latchbutton": {
810
816
  "title": "Activate Latch Button",
811
817
  "type": "boolean",
812
818
  "condition": {
813
- "functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Smart Lock' && model.options.devices[arrayIndices].deviceId);"
819
+ "functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Smart Lock' && model.options.devices[arrayIndices].configDeviceType === 'Smart Lock Pro' && model.options.devices[arrayIndices].deviceId);"
814
820
  }
815
821
  }
816
822
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "SwitchBot",
3
3
  "name": "@switchbot/homebridge-switchbot",
4
- "version": "3.3.1-beta.1",
4
+ "version": "3.3.1-beta.2",
5
5
  "description": "The SwitchBot plugin allows you to access your SwitchBot device(s) from HomeKit.",
6
6
  "author": {
7
7
  "name": "SwitchBot",