@switchbot/homebridge-switchbot 4.1.1-beta.4 → 4.1.1-beta.5
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 +2 -2
- package/package.json +1 -1
package/config.schema.json
CHANGED
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"configDeviceName": {
|
|
58
58
|
"title": "Device Name",
|
|
59
59
|
"type": "string",
|
|
60
|
-
"pattern": "^[\\p{L}\\p{N}][\\p{L}\\p{N} ']*[\\p{L}\\p{N}]
|
|
60
|
+
"pattern": "^[\\p{L}\\p{N}]+([\\p{L}\\p{N} ']*[\\p{L}\\p{N}])?$",
|
|
61
61
|
"placeholder": "SwitchBot",
|
|
62
62
|
"condition": {
|
|
63
63
|
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId);"
|
|
@@ -7699,7 +7699,7 @@
|
|
|
7699
7699
|
"title": "Device Name",
|
|
7700
7700
|
"type": "string",
|
|
7701
7701
|
"placeholder": "SwitchBot",
|
|
7702
|
-
"pattern": "^[\\p{L}\\p{N}][\\p{L}\\p{N} ']*[\\p{L}\\p{N}]
|
|
7702
|
+
"pattern": "^[\\p{L}\\p{N}]+([\\p{L}\\p{N} ']*[\\p{L}\\p{N}])?$",
|
|
7703
7703
|
"condition": {
|
|
7704
7704
|
"functionBody": "return (model.options && model.options.irdevices && model.options.irdevices[arrayIndices].deviceId);"
|
|
7705
7705
|
}
|
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.1-beta.
|
|
5
|
+
"version": "4.1.1-beta.5",
|
|
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": [
|