homebridge-virtual-accessories 3.16.2 → 3.16.3
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
CHANGED
|
@@ -74,11 +74,11 @@
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
|
+
"required": [ "name" ],
|
|
77
78
|
"properties": {
|
|
78
79
|
"name": {
|
|
79
80
|
"title": "Platform Name",
|
|
80
81
|
"type": "string",
|
|
81
|
-
"required": true,
|
|
82
82
|
"default": "Virtual Accessories Platform",
|
|
83
83
|
"readonly": true
|
|
84
84
|
},
|
|
@@ -111,25 +111,23 @@
|
|
|
111
111
|
"type": "object",
|
|
112
112
|
"expandable": true,
|
|
113
113
|
"expanded": false,
|
|
114
|
+
"required": [ "accessoryID", "accessoryName", "accessoryType" ],
|
|
114
115
|
"properties": {
|
|
115
116
|
"accessoryID": {
|
|
116
117
|
"title": "Accessory ID",
|
|
117
118
|
"description": "Unique ID for the Accessory (https://www.random.org/). Do not modify once assigned!",
|
|
118
119
|
"type": "string",
|
|
119
|
-
"required": true,
|
|
120
120
|
"pattern": "^[A-Za-z0-9\\-]{5,}$"
|
|
121
121
|
},
|
|
122
122
|
"accessoryName": {
|
|
123
123
|
"title": "Accessory Name",
|
|
124
124
|
"description": "Accessory name as it will be displayed in HomeKit",
|
|
125
125
|
"type": "string",
|
|
126
|
-
"required": true,
|
|
127
126
|
"pattern": "^(?=[\\p{L}\\p{N}])[\\p{L}\\p{N}\\s']*(?<=[\\p{L}\\p{N}])$"
|
|
128
127
|
},
|
|
129
128
|
"accessoryType": {
|
|
130
129
|
"title": "Accessory Type",
|
|
131
130
|
"type": "string",
|
|
132
|
-
"required": true,
|
|
133
131
|
"oneOf": [
|
|
134
132
|
{ "title": "Air Purifier", "enum": ["airpurifier"] },
|
|
135
133
|
{ "title": "Battery", "enum": ["battery"] },
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "homebridge-virtual-accessories",
|
|
3
3
|
"displayName": "Virtual Accessories for Homebridge",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "3.16.
|
|
5
|
+
"version": "3.16.3",
|
|
6
6
|
"description": "Virtual HomeKit accessories for Homebridge.",
|
|
7
7
|
"author": "justjam2023 (Renzo Zanelli - renzo.zanelli6@gmail.com)",
|
|
8
8
|
"license": "MIT",
|
|
@@ -74,11 +74,11 @@
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
|
+
"required": [ "name" ],
|
|
77
78
|
"properties": {
|
|
78
79
|
"name": {
|
|
79
80
|
"title": "Nombre de la Plataforma",
|
|
80
81
|
"type": "string",
|
|
81
|
-
"required": true,
|
|
82
82
|
"default": "Virtual Accessories Platform",
|
|
83
83
|
"readonly": true
|
|
84
84
|
},
|
|
@@ -111,25 +111,23 @@
|
|
|
111
111
|
"type": "object",
|
|
112
112
|
"expandable": true,
|
|
113
113
|
"expanded": false,
|
|
114
|
+
"required": [ "accessoryID", "accessoryName", "accessoryType" ],
|
|
114
115
|
"properties": {
|
|
115
116
|
"accessoryID": {
|
|
116
117
|
"title": "ID del Accesorio",
|
|
117
118
|
"description": "ID único del accesorio (https://www.random.org/). ¡No lo modifique una vez asignado!",
|
|
118
119
|
"type": "string",
|
|
119
|
-
"required": true,
|
|
120
120
|
"pattern": "^[A-Za-z0-9\\-]{5,}$"
|
|
121
121
|
},
|
|
122
122
|
"accessoryName": {
|
|
123
123
|
"title": "Nombre del Accesorio",
|
|
124
124
|
"description": "Nombre del accesorio tal como se mostrará en HomeKit",
|
|
125
125
|
"type": "string",
|
|
126
|
-
"required": true,
|
|
127
126
|
"pattern": "^(?=[\\p{L}\\p{N}])[\\p{L}\\p{N}\\s']*(?<=[\\p{L}\\p{N}])$"
|
|
128
127
|
},
|
|
129
128
|
"accessoryType": {
|
|
130
129
|
"title": "Tipo de Accesorio",
|
|
131
130
|
"type": "string",
|
|
132
|
-
"required": true,
|
|
133
131
|
"oneOf": [
|
|
134
132
|
{ "title": "Purificador de Aire", "enum": ["airpurifier"] },
|
|
135
133
|
{ "title": "Batería", "enum": ["battery"] },
|
|
@@ -74,11 +74,11 @@
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
|
+
"required": [ "name" ],
|
|
77
78
|
"properties": {
|
|
78
79
|
"name": {
|
|
79
80
|
"title": "Platform Naam",
|
|
80
81
|
"type": "string",
|
|
81
|
-
"required": true,
|
|
82
82
|
"default": "Virtual Accessories Platform",
|
|
83
83
|
"readonly": true
|
|
84
84
|
},
|
|
@@ -111,25 +111,23 @@
|
|
|
111
111
|
"type": "object",
|
|
112
112
|
"expandable": true,
|
|
113
113
|
"expanded": false,
|
|
114
|
+
"required": [ "accessoryID", "accessoryName", "accessoryType" ],
|
|
114
115
|
"properties": {
|
|
115
116
|
"accessoryID": {
|
|
116
117
|
"title": "Accessoire ID",
|
|
117
118
|
"description": "Uniek ID voor het Accessoire (https://www.random.org/). Niet meer veranderen als het toegewezen is!",
|
|
118
119
|
"type": "string",
|
|
119
|
-
"required": true,
|
|
120
120
|
"pattern": "^[A-Za-z0-9\\-]{5,}$"
|
|
121
121
|
},
|
|
122
122
|
"accessoryName": {
|
|
123
123
|
"title": "Accessoire Naam",
|
|
124
124
|
"description": "Accessoire naam zoals het wordt weergegeven in HomeKit",
|
|
125
125
|
"type": "string",
|
|
126
|
-
"required": true,
|
|
127
126
|
"pattern": "^(?=[\\p{L}\\p{N}])[\\p{L}\\p{N}\\s']*(?<=[\\p{L}\\p{N}])$"
|
|
128
127
|
},
|
|
129
128
|
"accessoryType": {
|
|
130
129
|
"title": "Accessoire Type",
|
|
131
130
|
"type": "string",
|
|
132
|
-
"required": true,
|
|
133
131
|
"oneOf": [
|
|
134
132
|
{ "title": "Luchtreiniger", "enum": ["airpurifier"] },
|
|
135
133
|
{ "title": "Batterij", "enum": ["battery"] },
|