@kohost/api-client 3.0.0-beta.38 → 3.0.0-beta.39
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/dist/cjs/Models.js +11 -5
- package/dist/cjs/utils.js +6 -1
- package/dist/esm/Models.js +11 -5
- package/dist/esm/Models.js.map +2 -2
- package/dist/esm/utils.js +6 -1
- package/dist/esm/utils.js.map +2 -2
- package/package.json +1 -1
package/dist/cjs/Models.js
CHANGED
|
@@ -175,7 +175,9 @@ var require_device = __commonJS({
|
|
|
175
175
|
"softwareFailureWithCode",
|
|
176
176
|
"motionDetection",
|
|
177
177
|
"airFilterNeedsCleaned",
|
|
178
|
-
"smokeDetected"
|
|
178
|
+
"smokeDetected",
|
|
179
|
+
"outsideSafeTemperatureRange",
|
|
180
|
+
"outsideSafeHumidityRange"
|
|
179
181
|
]
|
|
180
182
|
}
|
|
181
183
|
},
|
|
@@ -189,6 +191,9 @@ var require_device = __commonJS({
|
|
|
189
191
|
timestamp: {
|
|
190
192
|
type: "number",
|
|
191
193
|
minimum: 1655907956593
|
|
194
|
+
},
|
|
195
|
+
description: {
|
|
196
|
+
type: "string"
|
|
192
197
|
}
|
|
193
198
|
}
|
|
194
199
|
},
|
|
@@ -908,9 +913,6 @@ var require_thermostat = __commonJS({
|
|
|
908
913
|
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/type",
|
|
909
914
|
default: "thermostat"
|
|
910
915
|
},
|
|
911
|
-
subType: {
|
|
912
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/subType"
|
|
913
|
-
},
|
|
914
916
|
driver: {
|
|
915
917
|
$ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/driver"
|
|
916
918
|
},
|
|
@@ -945,7 +947,7 @@ var require_thermostat = __commonJS({
|
|
|
945
947
|
},
|
|
946
948
|
fanState: {
|
|
947
949
|
type: ["string", "null"],
|
|
948
|
-
enum: ["off", "low", "medium", "high", null]
|
|
950
|
+
enum: ["off", "low", "medium", "high", "on", null]
|
|
949
951
|
},
|
|
950
952
|
temperatureScale: {
|
|
951
953
|
type: "string",
|
|
@@ -987,6 +989,10 @@ var require_thermostat = __commonJS({
|
|
|
987
989
|
}
|
|
988
990
|
},
|
|
989
991
|
minAutoDelta: {
|
|
992
|
+
type: "number",
|
|
993
|
+
default: 3
|
|
994
|
+
},
|
|
995
|
+
cycleRate: {
|
|
990
996
|
type: "number"
|
|
991
997
|
},
|
|
992
998
|
batteryLevel: {
|
package/dist/cjs/utils.js
CHANGED
|
@@ -218,7 +218,9 @@ var require_device = __commonJS({
|
|
|
218
218
|
"softwareFailureWithCode",
|
|
219
219
|
"motionDetection",
|
|
220
220
|
"airFilterNeedsCleaned",
|
|
221
|
-
"smokeDetected"
|
|
221
|
+
"smokeDetected",
|
|
222
|
+
"outsideSafeTemperatureRange",
|
|
223
|
+
"outsideSafeHumidityRange"
|
|
222
224
|
]
|
|
223
225
|
}
|
|
224
226
|
},
|
|
@@ -232,6 +234,9 @@ var require_device = __commonJS({
|
|
|
232
234
|
timestamp: {
|
|
233
235
|
type: "number",
|
|
234
236
|
minimum: 1655907956593
|
|
237
|
+
},
|
|
238
|
+
description: {
|
|
239
|
+
type: "string"
|
|
235
240
|
}
|
|
236
241
|
}
|
|
237
242
|
},
|
package/dist/esm/Models.js
CHANGED
|
@@ -7552,7 +7552,9 @@ var require_device = __commonJS({
|
|
|
7552
7552
|
"softwareFailureWithCode",
|
|
7553
7553
|
"motionDetection",
|
|
7554
7554
|
"airFilterNeedsCleaned",
|
|
7555
|
-
"smokeDetected"
|
|
7555
|
+
"smokeDetected",
|
|
7556
|
+
"outsideSafeTemperatureRange",
|
|
7557
|
+
"outsideSafeHumidityRange"
|
|
7556
7558
|
]
|
|
7557
7559
|
}
|
|
7558
7560
|
},
|
|
@@ -7566,6 +7568,9 @@ var require_device = __commonJS({
|
|
|
7566
7568
|
timestamp: {
|
|
7567
7569
|
type: "number",
|
|
7568
7570
|
minimum: 1655907956593
|
|
7571
|
+
},
|
|
7572
|
+
description: {
|
|
7573
|
+
type: "string"
|
|
7569
7574
|
}
|
|
7570
7575
|
}
|
|
7571
7576
|
},
|
|
@@ -8340,9 +8345,6 @@ var require_thermostat = __commonJS({
|
|
|
8340
8345
|
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/type",
|
|
8341
8346
|
default: "thermostat"
|
|
8342
8347
|
},
|
|
8343
|
-
subType: {
|
|
8344
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/subType"
|
|
8345
|
-
},
|
|
8346
8348
|
driver: {
|
|
8347
8349
|
$ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/driver"
|
|
8348
8350
|
},
|
|
@@ -8377,7 +8379,7 @@ var require_thermostat = __commonJS({
|
|
|
8377
8379
|
},
|
|
8378
8380
|
fanState: {
|
|
8379
8381
|
type: ["string", "null"],
|
|
8380
|
-
enum: ["off", "low", "medium", "high", null]
|
|
8382
|
+
enum: ["off", "low", "medium", "high", "on", null]
|
|
8381
8383
|
},
|
|
8382
8384
|
temperatureScale: {
|
|
8383
8385
|
type: "string",
|
|
@@ -8419,6 +8421,10 @@ var require_thermostat = __commonJS({
|
|
|
8419
8421
|
}
|
|
8420
8422
|
},
|
|
8421
8423
|
minAutoDelta: {
|
|
8424
|
+
type: "number",
|
|
8425
|
+
default: 3
|
|
8426
|
+
},
|
|
8427
|
+
cycleRate: {
|
|
8422
8428
|
type: "number"
|
|
8423
8429
|
},
|
|
8424
8430
|
batteryLevel: {
|