@kohost/api-client 4.11.0 → 4.11.1
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/amqpClient.cjs.map +1 -1
- package/dist/amqpClient.js +1 -1
- package/dist/{chunk-4RGKXRCC.js → chunk-3T7O6SSX.js} +1 -1
- package/dist/chunk-3T7O6SSX.js.map +1 -0
- package/dist/{chunk-EFDNWLMA.js → chunk-44FUQXMY.js} +1 -1
- package/dist/chunk-44FUQXMY.js.map +1 -0
- package/dist/{chunk-HAZA2CC4.js → chunk-4JPS6JAG.js} +1 -1
- package/dist/chunk-4JPS6JAG.js.map +1 -0
- package/dist/{chunk-VWZZQPYF.js → chunk-5GYG24VQ.js} +1 -1
- package/dist/{chunk-R7LFTNN3.js → chunk-5QBIGY4H.js} +1 -1
- package/dist/{chunk-R7LFTNN3.js.map → chunk-5QBIGY4H.js.map} +1 -1
- package/dist/{chunk-4E6X4AWF.js → chunk-5UTH7OAH.js} +1 -1
- package/dist/chunk-5UTH7OAH.js.map +1 -0
- package/dist/{chunk-UBBFO4DV.js → chunk-7AFOPOH6.js} +1 -1
- package/dist/chunk-7AFOPOH6.js.map +1 -0
- package/dist/{chunk-5IUMCO6K.js → chunk-AHC2WGJE.js} +1 -1
- package/dist/chunk-AHC2WGJE.js.map +1 -0
- package/dist/{chunk-AT5O6OJM.js → chunk-BDSQQ6HP.js} +1 -1
- package/dist/chunk-BDSQQ6HP.js.map +1 -0
- package/dist/{chunk-CW272SBN.js → chunk-BHKQEUCN.js} +1 -1
- package/dist/{chunk-CW272SBN.js.map → chunk-BHKQEUCN.js.map} +1 -1
- package/dist/{chunk-KE6CXWXD.js → chunk-BSJSKTKW.js} +1 -1
- package/dist/chunk-BSJSKTKW.js.map +1 -0
- package/dist/{chunk-QUHOFRXV.js → chunk-C5BVAUUD.js} +1 -1
- package/dist/chunk-C5BVAUUD.js.map +1 -0
- package/dist/{chunk-2UB3LUDU.js → chunk-DYI5AGYE.js} +1 -1
- package/dist/chunk-DYI5AGYE.js.map +1 -0
- package/dist/{chunk-E74W6L7V.js → chunk-EQRRWEUV.js} +1 -1
- package/dist/chunk-EQRRWEUV.js.map +1 -0
- package/dist/{chunk-5QKL3YIQ.js → chunk-GGDJAKJZ.js} +1 -1
- package/dist/{chunk-5QKL3YIQ.js.map → chunk-GGDJAKJZ.js.map} +1 -1
- package/dist/{chunk-IDRUXPFD.js → chunk-GOX3QHII.js} +1 -1
- package/dist/{chunk-IDRUXPFD.js.map → chunk-GOX3QHII.js.map} +1 -1
- package/dist/{chunk-IVOUXLE7.js → chunk-GXHDNNEZ.js} +1 -1
- package/dist/chunk-GXHDNNEZ.js.map +1 -0
- package/dist/{chunk-3AH7ESNC.js → chunk-J2AC6RFR.js} +1 -1
- package/dist/chunk-J2AC6RFR.js.map +1 -0
- package/dist/{chunk-3JL7QMK4.js → chunk-JF2EVZYA.js} +1 -1
- package/dist/chunk-JF2EVZYA.js.map +1 -0
- package/dist/{chunk-VX4FUPNL.js → chunk-JGB2IDZ6.js} +1 -1
- package/dist/chunk-JGB2IDZ6.js.map +1 -0
- package/dist/{chunk-4JJEZYIX.js → chunk-LKIPRLBQ.js} +1 -1
- package/dist/chunk-LKIPRLBQ.js.map +1 -0
- package/dist/{chunk-TLXGHYP5.js → chunk-M7J5VN2K.js} +1 -1
- package/dist/{chunk-TLXGHYP5.js.map → chunk-M7J5VN2K.js.map} +1 -1
- package/dist/{chunk-WNUSIEB4.js → chunk-NVHDJTCZ.js} +1 -1
- package/dist/{chunk-ZZMM3QTI.js → chunk-O3T2FO7O.js} +1 -1
- package/dist/{chunk-ZZMM3QTI.js.map → chunk-O3T2FO7O.js.map} +1 -1
- package/dist/{chunk-XO5U52AY.js → chunk-OEO6RXVP.js} +1 -1
- package/dist/chunk-OEO6RXVP.js.map +1 -0
- package/dist/{chunk-BRMQZWQQ.js → chunk-QAOGHEYG.js} +1 -1
- package/dist/chunk-QAOGHEYG.js.map +1 -0
- package/dist/{chunk-OYGGJUZ2.js → chunk-S5OTB2OU.js} +1 -1
- package/dist/chunk-S5OTB2OU.js.map +1 -0
- package/dist/{chunk-O3P2AKRX.js → chunk-STZLODEY.js} +1 -1
- package/dist/chunk-STZLODEY.js.map +1 -0
- package/dist/{chunk-BORTGG46.js → chunk-T7ZYREDK.js} +1 -1
- package/dist/chunk-T7ZYREDK.js.map +1 -0
- package/dist/{chunk-CEYKBJZW.js → chunk-TI3ILTHZ.js} +1 -1
- package/dist/chunk-TI3ILTHZ.js.map +1 -0
- package/dist/{chunk-RXY4LNO4.js → chunk-W7P3OFBI.js} +1 -1
- package/dist/chunk-W7P3OFBI.js.map +1 -0
- package/dist/{chunk-U2AGLPI4.js → chunk-WJWT5H6X.js} +1 -1
- package/dist/chunk-WJWT5H6X.js.map +1 -0
- package/dist/{chunk-QC6E54KG.js → chunk-WSJEJ7RX.js} +1 -1
- package/dist/chunk-WSJEJ7RX.js.map +1 -0
- package/dist/{chunk-QDDBU2BV.js → chunk-X2VO5SPG.js} +1 -1
- package/dist/chunk-X2VO5SPG.js.map +1 -0
- package/dist/{chunk-KY6X4QAD.js → chunk-X42K4JVV.js} +1 -1
- package/dist/chunk-X42K4JVV.js.map +1 -0
- package/dist/{chunk-K3NN32XK.js → chunk-XNM55KLN.js} +1 -1
- package/dist/chunk-XNM55KLN.js.map +1 -0
- package/dist/{chunk-YMVHMEXG.js → chunk-XYTZBG4S.js} +1 -1
- package/dist/chunk-XYTZBG4S.js.map +1 -0
- package/dist/commands/index.cjs.map +1 -1
- package/dist/commands/index.js +1 -1
- package/dist/errors/index.cjs.map +1 -1
- package/dist/errors/index.js +1 -1
- package/dist/events/index.cjs.map +1 -1
- package/dist/events/index.js +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/models/alarm.cjs.map +1 -1
- package/dist/models/alarm.d.cts +8 -8
- package/dist/models/alarm.d.ts +8 -8
- package/dist/models/alarm.js +1 -1
- package/dist/models/announcement.cjs.map +1 -1
- package/dist/models/announcement.d.cts +13 -13
- package/dist/models/announcement.d.ts +13 -13
- package/dist/models/announcement.js +1 -1
- package/dist/models/camera.cjs.map +1 -1
- package/dist/models/camera.d.cts +23 -23
- package/dist/models/camera.d.ts +23 -23
- package/dist/models/camera.js +1 -1
- package/dist/models/category.cjs.map +1 -1
- package/dist/models/category.d.cts +13 -13
- package/dist/models/category.d.ts +13 -13
- package/dist/models/category.js +1 -1
- package/dist/models/courtesy.cjs.map +1 -1
- package/dist/models/courtesy.d.cts +6 -6
- package/dist/models/courtesy.d.ts +6 -6
- package/dist/models/courtesy.js +1 -1
- package/dist/models/credential.cjs.map +1 -1
- package/dist/models/credential.d.cts +2 -2
- package/dist/models/credential.d.ts +2 -2
- package/dist/models/credential.js +1 -1
- package/dist/models/deviceRouter.cjs.map +1 -1
- package/dist/models/deviceRouter.d.cts +3 -3
- package/dist/models/deviceRouter.d.ts +3 -3
- package/dist/models/deviceRouter.js +1 -1
- package/dist/models/dimmer.cjs.map +1 -1
- package/dist/models/dimmer.d.cts +6 -6
- package/dist/models/dimmer.d.ts +6 -6
- package/dist/models/dimmer.js +1 -1
- package/dist/models/discoveredDevice.cjs.map +1 -1
- package/dist/models/discoveredDevice.d.cts +6 -6
- package/dist/models/discoveredDevice.d.ts +6 -6
- package/dist/models/discoveredDevice.js +1 -1
- package/dist/models/gateway.cjs.map +1 -1
- package/dist/models/gateway.d.cts +3 -3
- package/dist/models/gateway.d.ts +3 -3
- package/dist/models/gateway.js +1 -1
- package/dist/models/identification.cjs.map +1 -1
- package/dist/models/identification.d.cts +2 -2
- package/dist/models/identification.d.ts +2 -2
- package/dist/models/identification.js +1 -1
- package/dist/models/index.cjs.map +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/lock.cjs.map +1 -1
- package/dist/models/lock.d.cts +3 -3
- package/dist/models/lock.d.ts +3 -3
- package/dist/models/lock.js +1 -1
- package/dist/models/mediaSource.cjs.map +1 -1
- package/dist/models/mediaSource.d.cts +8 -8
- package/dist/models/mediaSource.d.ts +8 -8
- package/dist/models/mediaSource.js +1 -1
- package/dist/models/motionSensor.cjs.map +1 -1
- package/dist/models/motionSensor.d.cts +3 -3
- package/dist/models/motionSensor.d.ts +3 -3
- package/dist/models/motionSensor.js +1 -1
- package/dist/models/organization.cjs.map +1 -1
- package/dist/models/organization.d.cts +6 -6
- package/dist/models/organization.d.ts +6 -6
- package/dist/models/organization.js +1 -1
- package/dist/models/payment.cjs.map +1 -1
- package/dist/models/payment.d.cts +6 -6
- package/dist/models/payment.d.ts +6 -6
- package/dist/models/payment.js +1 -1
- package/dist/models/product.cjs.map +1 -1
- package/dist/models/product.d.cts +16 -16
- package/dist/models/product.d.ts +16 -16
- package/dist/models/product.js +1 -1
- package/dist/models/property.cjs.map +1 -1
- package/dist/models/property.d.cts +3 -3
- package/dist/models/property.d.ts +3 -3
- package/dist/models/property.js +1 -1
- package/dist/models/reservation.cjs.map +1 -1
- package/dist/models/reservation.d.cts +9 -9
- package/dist/models/reservation.d.ts +9 -9
- package/dist/models/reservation.js +1 -1
- package/dist/models/room.cjs.map +1 -1
- package/dist/models/room.d.cts +304 -182
- package/dist/models/room.d.ts +304 -182
- package/dist/models/room.js +1 -1
- package/dist/models/scene.cjs.map +1 -1
- package/dist/models/scene.d.cts +39 -15
- package/dist/models/scene.d.ts +39 -15
- package/dist/models/scene.js +1 -1
- package/dist/models/session.cjs.map +1 -1
- package/dist/models/session.d.cts +2 -2
- package/dist/models/session.d.ts +2 -2
- package/dist/models/session.js +1 -1
- package/dist/models/space.cjs.map +1 -1
- package/dist/models/space.d.cts +3 -3
- package/dist/models/space.d.ts +3 -3
- package/dist/models/space.js +1 -1
- package/dist/models/switch.cjs.map +1 -1
- package/dist/models/switch.d.cts +3 -3
- package/dist/models/switch.d.ts +3 -3
- package/dist/models/switch.js +1 -1
- package/dist/models/system.cjs.map +1 -1
- package/dist/models/system.d.cts +13 -13
- package/dist/models/system.d.ts +13 -13
- package/dist/models/system.js +1 -1
- package/dist/models/systemUser.cjs.map +1 -1
- package/dist/models/systemUser.d.cts +38 -38
- package/dist/models/systemUser.d.ts +38 -38
- package/dist/models/systemUser.js +1 -1
- package/dist/models/thermostat.cjs.map +1 -1
- package/dist/models/thermostat.d.cts +40 -16
- package/dist/models/thermostat.d.ts +40 -16
- package/dist/models/thermostat.js +1 -1
- package/dist/models/user.cjs.map +1 -1
- package/dist/models/user.d.cts +105 -93
- package/dist/models/user.d.ts +105 -93
- package/dist/models/user.js +1 -1
- package/dist/models/vendor.cjs.map +1 -1
- package/dist/models/vendor.d.cts +19 -19
- package/dist/models/vendor.d.ts +19 -19
- package/dist/models/vendor.js +1 -1
- package/dist/models/windowCovering.cjs.map +1 -1
- package/dist/models/windowCovering.d.cts +6 -6
- package/dist/models/windowCovering.d.ts +6 -6
- package/dist/models/windowCovering.js +1 -1
- package/dist/useCases/index.cjs.map +1 -1
- package/dist/useCases/index.js +1 -1
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-2UB3LUDU.js.map +0 -1
- package/dist/chunk-3AH7ESNC.js.map +0 -1
- package/dist/chunk-3JL7QMK4.js.map +0 -1
- package/dist/chunk-4E6X4AWF.js.map +0 -1
- package/dist/chunk-4JJEZYIX.js.map +0 -1
- package/dist/chunk-4RGKXRCC.js.map +0 -1
- package/dist/chunk-5IUMCO6K.js.map +0 -1
- package/dist/chunk-AT5O6OJM.js.map +0 -1
- package/dist/chunk-BORTGG46.js.map +0 -1
- package/dist/chunk-BRMQZWQQ.js.map +0 -1
- package/dist/chunk-CEYKBJZW.js.map +0 -1
- package/dist/chunk-E74W6L7V.js.map +0 -1
- package/dist/chunk-EFDNWLMA.js.map +0 -1
- package/dist/chunk-HAZA2CC4.js.map +0 -1
- package/dist/chunk-IVOUXLE7.js.map +0 -1
- package/dist/chunk-K3NN32XK.js.map +0 -1
- package/dist/chunk-KE6CXWXD.js.map +0 -1
- package/dist/chunk-KY6X4QAD.js.map +0 -1
- package/dist/chunk-O3P2AKRX.js.map +0 -1
- package/dist/chunk-OYGGJUZ2.js.map +0 -1
- package/dist/chunk-QC6E54KG.js.map +0 -1
- package/dist/chunk-QDDBU2BV.js.map +0 -1
- package/dist/chunk-QUHOFRXV.js.map +0 -1
- package/dist/chunk-RXY4LNO4.js.map +0 -1
- package/dist/chunk-U2AGLPI4.js.map +0 -1
- package/dist/chunk-UBBFO4DV.js.map +0 -1
- package/dist/chunk-VX4FUPNL.js.map +0 -1
- package/dist/chunk-XO5U52AY.js.map +0 -1
- package/dist/chunk-YMVHMEXG.js.map +0 -1
- /package/dist/{chunk-VWZZQPYF.js.map → chunk-5GYG24VQ.js.map} +0 -0
- /package/dist/{chunk-WNUSIEB4.js.map → chunk-NVHDJTCZ.js.map} +0 -0
|
@@ -9,18 +9,18 @@ import { Entity } from './entity.cjs';
|
|
|
9
9
|
* @property {("adlink"|"aws-kinesis"|"bacnet"|"benq"|"butler"|"comelit"|"crestron"|"dell"|"digital-watchdog"|"distech"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"newline"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"relay"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"smartboard"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"veracross"|"vivotek"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
|
|
10
10
|
* @property {boolean} [offline]
|
|
11
11
|
* @property {("button 1"|"button 2"|"button 3"|"button 4"|"button 5"|"idle"|"powerHasBeedApplied"|"acMainsDisconnected"|"acMainsReconnected"|"replaceBatterySoon"|"replaceBatteryNow"|"batteryOk"|"hardwareFailure"|"softwareFailure"|"hardwareFailureWithCode"|"softwareFailureWithCode"|"motionDetection"|"airFilterNeedsCleaned"|"airFilterNeedsReplaced"|"smokeDetected"|"outsideSafeTemperatureRange"|"outsideSafeHumidityRange"|"scheduleMaintenance"|"doorAjar"|"communicationFailure"|"communicationOk"|"burglarAlarm"|"fireAlarm")[]} [supportedNotifications]
|
|
12
|
-
* @property {{name?:
|
|
12
|
+
* @property {{name?: ("button 1"|"button 2"|"button 3"|"button 4"|"button 5"|"idle"|"powerHasBeedApplied"|"acMainsDisconnected"|"acMainsReconnected"|"replaceBatterySoon"|"replaceBatteryNow"|"batteryOk"|"hardwareFailure"|"softwareFailure"|"hardwareFailureWithCode"|"softwareFailureWithCode"|"motionDetection"|"airFilterNeedsCleaned"|"airFilterNeedsReplaced"|"smokeDetected"|"outsideSafeTemperatureRange"|"outsideSafeHumidityRange"|"scheduleMaintenance"|"doorAjar"|"communicationFailure"|"communicationOk"|"burglarAlarm"|"fireAlarm"), timestamp?: number, description?: string}} [notification]
|
|
13
13
|
* @property {number} [currentTemperature]
|
|
14
14
|
* @property {number} [currentHumidity]
|
|
15
|
-
* @property {
|
|
15
|
+
* @property {("cool"|"heat"|"auto"|"off")} hvacMode
|
|
16
16
|
* @property {("cooling"|"heating"|"off")} hvacState
|
|
17
|
-
* @property {
|
|
17
|
+
* @property {("auto"|"low"|"medium"|"high"|"off"|"on")} fanMode
|
|
18
18
|
* @property {("off"|"low"|"medium"|"high"|"on")} fanState
|
|
19
19
|
* @property {("celsius"|"fahrenheit")} temperatureScale - Default: "fahrenheit"
|
|
20
20
|
* @property {("absolute"|"relative")} [humidityScale]
|
|
21
21
|
* @property {("cool"|"heat"|"auto"|"off")[]} supportedHvacModes
|
|
22
22
|
* @property {("auto"|"low"|"medium"|"high"|"off"|"on")[]} supportedFanModes
|
|
23
|
-
* @property {{cool?:
|
|
23
|
+
* @property {{cool?: {value?: number, min?: (number|null), max?: (number|null)}, heat?: {value?: number, min?: (number|null), max?: (number|null)}, auto?: {value?: number, min?: (number|null), max?: (number|null)}}} setpoints
|
|
24
24
|
* @property {number} [minAutoDelta] - Default: 3
|
|
25
25
|
* @property {number} [cycleRate]
|
|
26
26
|
* @property {number} [co2] - Parts per million (ppm)
|
|
@@ -53,24 +53,36 @@ declare class Thermostat extends Entity {
|
|
|
53
53
|
offline: boolean | undefined;
|
|
54
54
|
supportedNotifications: ("button 1" | "button 2" | "button 3" | "button 4" | "button 5" | "idle" | "powerHasBeedApplied" | "acMainsDisconnected" | "acMainsReconnected" | "replaceBatterySoon" | "replaceBatteryNow" | "batteryOk" | "hardwareFailure" | "softwareFailure" | "hardwareFailureWithCode" | "softwareFailureWithCode" | "motionDetection" | "airFilterNeedsCleaned" | "airFilterNeedsReplaced" | "smokeDetected" | "outsideSafeTemperatureRange" | "outsideSafeHumidityRange" | "scheduleMaintenance" | "doorAjar" | "communicationFailure" | "communicationOk" | "burglarAlarm" | "fireAlarm")[] | undefined;
|
|
55
55
|
notification: {
|
|
56
|
-
name?:
|
|
56
|
+
name?: ("button 1" | "button 2" | "button 3" | "button 4" | "button 5" | "idle" | "powerHasBeedApplied" | "acMainsDisconnected" | "acMainsReconnected" | "replaceBatterySoon" | "replaceBatteryNow" | "batteryOk" | "hardwareFailure" | "softwareFailure" | "hardwareFailureWithCode" | "softwareFailureWithCode" | "motionDetection" | "airFilterNeedsCleaned" | "airFilterNeedsReplaced" | "smokeDetected" | "outsideSafeTemperatureRange" | "outsideSafeHumidityRange" | "scheduleMaintenance" | "doorAjar" | "communicationFailure" | "communicationOk" | "burglarAlarm" | "fireAlarm");
|
|
57
57
|
timestamp?: number;
|
|
58
58
|
description?: string;
|
|
59
59
|
} | undefined;
|
|
60
60
|
currentTemperature: number | undefined;
|
|
61
61
|
currentHumidity: number | undefined;
|
|
62
|
-
hvacMode:
|
|
62
|
+
hvacMode: "off" | "cool" | "heat" | "auto";
|
|
63
63
|
hvacState: "off" | "cooling" | "heating";
|
|
64
|
-
fanMode:
|
|
64
|
+
fanMode: "on" | "off" | "low" | "medium" | "high" | "auto";
|
|
65
65
|
fanState: "on" | "off" | "low" | "medium" | "high";
|
|
66
66
|
temperatureScale: "celsius" | "fahrenheit";
|
|
67
67
|
humidityScale: "absolute" | "relative" | undefined;
|
|
68
68
|
supportedHvacModes: ("off" | "cool" | "heat" | "auto")[];
|
|
69
69
|
supportedFanModes: ("on" | "off" | "low" | "medium" | "high" | "auto")[];
|
|
70
70
|
setpoints: {
|
|
71
|
-
cool?:
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
cool?: {
|
|
72
|
+
value?: number;
|
|
73
|
+
min?: (number | null);
|
|
74
|
+
max?: (number | null);
|
|
75
|
+
};
|
|
76
|
+
heat?: {
|
|
77
|
+
value?: number;
|
|
78
|
+
min?: (number | null);
|
|
79
|
+
max?: (number | null);
|
|
80
|
+
};
|
|
81
|
+
auto?: {
|
|
82
|
+
value?: number;
|
|
83
|
+
min?: (number | null);
|
|
84
|
+
max?: (number | null);
|
|
85
|
+
};
|
|
74
86
|
};
|
|
75
87
|
minAutoDelta: number | undefined;
|
|
76
88
|
cycleRate: number | undefined;
|
|
@@ -276,15 +288,15 @@ type ThermostatData = {
|
|
|
276
288
|
offline?: boolean | undefined;
|
|
277
289
|
supportedNotifications?: ("button 1" | "button 2" | "button 3" | "button 4" | "button 5" | "idle" | "powerHasBeedApplied" | "acMainsDisconnected" | "acMainsReconnected" | "replaceBatterySoon" | "replaceBatteryNow" | "batteryOk" | "hardwareFailure" | "softwareFailure" | "hardwareFailureWithCode" | "softwareFailureWithCode" | "motionDetection" | "airFilterNeedsCleaned" | "airFilterNeedsReplaced" | "smokeDetected" | "outsideSafeTemperatureRange" | "outsideSafeHumidityRange" | "scheduleMaintenance" | "doorAjar" | "communicationFailure" | "communicationOk" | "burglarAlarm" | "fireAlarm")[] | undefined;
|
|
278
290
|
notification?: {
|
|
279
|
-
name?:
|
|
291
|
+
name?: ("button 1" | "button 2" | "button 3" | "button 4" | "button 5" | "idle" | "powerHasBeedApplied" | "acMainsDisconnected" | "acMainsReconnected" | "replaceBatterySoon" | "replaceBatteryNow" | "batteryOk" | "hardwareFailure" | "softwareFailure" | "hardwareFailureWithCode" | "softwareFailureWithCode" | "motionDetection" | "airFilterNeedsCleaned" | "airFilterNeedsReplaced" | "smokeDetected" | "outsideSafeTemperatureRange" | "outsideSafeHumidityRange" | "scheduleMaintenance" | "doorAjar" | "communicationFailure" | "communicationOk" | "burglarAlarm" | "fireAlarm");
|
|
280
292
|
timestamp?: number;
|
|
281
293
|
description?: string;
|
|
282
294
|
} | undefined;
|
|
283
295
|
currentTemperature?: number | undefined;
|
|
284
296
|
currentHumidity?: number | undefined;
|
|
285
|
-
hvacMode:
|
|
297
|
+
hvacMode: ("cool" | "heat" | "auto" | "off");
|
|
286
298
|
hvacState: ("cooling" | "heating" | "off");
|
|
287
|
-
fanMode:
|
|
299
|
+
fanMode: ("auto" | "low" | "medium" | "high" | "off" | "on");
|
|
288
300
|
fanState: ("off" | "low" | "medium" | "high" | "on");
|
|
289
301
|
/**
|
|
290
302
|
* - Default: "fahrenheit"
|
|
@@ -294,9 +306,21 @@ type ThermostatData = {
|
|
|
294
306
|
supportedHvacModes: ("cool" | "heat" | "auto" | "off")[];
|
|
295
307
|
supportedFanModes: ("auto" | "low" | "medium" | "high" | "off" | "on")[];
|
|
296
308
|
setpoints: {
|
|
297
|
-
cool?:
|
|
298
|
-
|
|
299
|
-
|
|
309
|
+
cool?: {
|
|
310
|
+
value?: number;
|
|
311
|
+
min?: (number | null);
|
|
312
|
+
max?: (number | null);
|
|
313
|
+
};
|
|
314
|
+
heat?: {
|
|
315
|
+
value?: number;
|
|
316
|
+
min?: (number | null);
|
|
317
|
+
max?: (number | null);
|
|
318
|
+
};
|
|
319
|
+
auto?: {
|
|
320
|
+
value?: number;
|
|
321
|
+
min?: (number | null);
|
|
322
|
+
max?: (number | null);
|
|
323
|
+
};
|
|
300
324
|
};
|
|
301
325
|
/**
|
|
302
326
|
* - Default: 3
|
|
@@ -9,18 +9,18 @@ import { Entity } from './entity.js';
|
|
|
9
9
|
* @property {("adlink"|"aws-kinesis"|"bacnet"|"benq"|"butler"|"comelit"|"crestron"|"dell"|"digital-watchdog"|"distech"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"newline"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"relay"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"smartboard"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"veracross"|"vivotek"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
|
|
10
10
|
* @property {boolean} [offline]
|
|
11
11
|
* @property {("button 1"|"button 2"|"button 3"|"button 4"|"button 5"|"idle"|"powerHasBeedApplied"|"acMainsDisconnected"|"acMainsReconnected"|"replaceBatterySoon"|"replaceBatteryNow"|"batteryOk"|"hardwareFailure"|"softwareFailure"|"hardwareFailureWithCode"|"softwareFailureWithCode"|"motionDetection"|"airFilterNeedsCleaned"|"airFilterNeedsReplaced"|"smokeDetected"|"outsideSafeTemperatureRange"|"outsideSafeHumidityRange"|"scheduleMaintenance"|"doorAjar"|"communicationFailure"|"communicationOk"|"burglarAlarm"|"fireAlarm")[]} [supportedNotifications]
|
|
12
|
-
* @property {{name?:
|
|
12
|
+
* @property {{name?: ("button 1"|"button 2"|"button 3"|"button 4"|"button 5"|"idle"|"powerHasBeedApplied"|"acMainsDisconnected"|"acMainsReconnected"|"replaceBatterySoon"|"replaceBatteryNow"|"batteryOk"|"hardwareFailure"|"softwareFailure"|"hardwareFailureWithCode"|"softwareFailureWithCode"|"motionDetection"|"airFilterNeedsCleaned"|"airFilterNeedsReplaced"|"smokeDetected"|"outsideSafeTemperatureRange"|"outsideSafeHumidityRange"|"scheduleMaintenance"|"doorAjar"|"communicationFailure"|"communicationOk"|"burglarAlarm"|"fireAlarm"), timestamp?: number, description?: string}} [notification]
|
|
13
13
|
* @property {number} [currentTemperature]
|
|
14
14
|
* @property {number} [currentHumidity]
|
|
15
|
-
* @property {
|
|
15
|
+
* @property {("cool"|"heat"|"auto"|"off")} hvacMode
|
|
16
16
|
* @property {("cooling"|"heating"|"off")} hvacState
|
|
17
|
-
* @property {
|
|
17
|
+
* @property {("auto"|"low"|"medium"|"high"|"off"|"on")} fanMode
|
|
18
18
|
* @property {("off"|"low"|"medium"|"high"|"on")} fanState
|
|
19
19
|
* @property {("celsius"|"fahrenheit")} temperatureScale - Default: "fahrenheit"
|
|
20
20
|
* @property {("absolute"|"relative")} [humidityScale]
|
|
21
21
|
* @property {("cool"|"heat"|"auto"|"off")[]} supportedHvacModes
|
|
22
22
|
* @property {("auto"|"low"|"medium"|"high"|"off"|"on")[]} supportedFanModes
|
|
23
|
-
* @property {{cool?:
|
|
23
|
+
* @property {{cool?: {value?: number, min?: (number|null), max?: (number|null)}, heat?: {value?: number, min?: (number|null), max?: (number|null)}, auto?: {value?: number, min?: (number|null), max?: (number|null)}}} setpoints
|
|
24
24
|
* @property {number} [minAutoDelta] - Default: 3
|
|
25
25
|
* @property {number} [cycleRate]
|
|
26
26
|
* @property {number} [co2] - Parts per million (ppm)
|
|
@@ -53,24 +53,36 @@ declare class Thermostat extends Entity {
|
|
|
53
53
|
offline: boolean | undefined;
|
|
54
54
|
supportedNotifications: ("button 1" | "button 2" | "button 3" | "button 4" | "button 5" | "idle" | "powerHasBeedApplied" | "acMainsDisconnected" | "acMainsReconnected" | "replaceBatterySoon" | "replaceBatteryNow" | "batteryOk" | "hardwareFailure" | "softwareFailure" | "hardwareFailureWithCode" | "softwareFailureWithCode" | "motionDetection" | "airFilterNeedsCleaned" | "airFilterNeedsReplaced" | "smokeDetected" | "outsideSafeTemperatureRange" | "outsideSafeHumidityRange" | "scheduleMaintenance" | "doorAjar" | "communicationFailure" | "communicationOk" | "burglarAlarm" | "fireAlarm")[] | undefined;
|
|
55
55
|
notification: {
|
|
56
|
-
name?:
|
|
56
|
+
name?: ("button 1" | "button 2" | "button 3" | "button 4" | "button 5" | "idle" | "powerHasBeedApplied" | "acMainsDisconnected" | "acMainsReconnected" | "replaceBatterySoon" | "replaceBatteryNow" | "batteryOk" | "hardwareFailure" | "softwareFailure" | "hardwareFailureWithCode" | "softwareFailureWithCode" | "motionDetection" | "airFilterNeedsCleaned" | "airFilterNeedsReplaced" | "smokeDetected" | "outsideSafeTemperatureRange" | "outsideSafeHumidityRange" | "scheduleMaintenance" | "doorAjar" | "communicationFailure" | "communicationOk" | "burglarAlarm" | "fireAlarm");
|
|
57
57
|
timestamp?: number;
|
|
58
58
|
description?: string;
|
|
59
59
|
} | undefined;
|
|
60
60
|
currentTemperature: number | undefined;
|
|
61
61
|
currentHumidity: number | undefined;
|
|
62
|
-
hvacMode:
|
|
62
|
+
hvacMode: "off" | "cool" | "heat" | "auto";
|
|
63
63
|
hvacState: "off" | "cooling" | "heating";
|
|
64
|
-
fanMode:
|
|
64
|
+
fanMode: "on" | "off" | "low" | "medium" | "high" | "auto";
|
|
65
65
|
fanState: "on" | "off" | "low" | "medium" | "high";
|
|
66
66
|
temperatureScale: "celsius" | "fahrenheit";
|
|
67
67
|
humidityScale: "absolute" | "relative" | undefined;
|
|
68
68
|
supportedHvacModes: ("off" | "cool" | "heat" | "auto")[];
|
|
69
69
|
supportedFanModes: ("on" | "off" | "low" | "medium" | "high" | "auto")[];
|
|
70
70
|
setpoints: {
|
|
71
|
-
cool?:
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
cool?: {
|
|
72
|
+
value?: number;
|
|
73
|
+
min?: (number | null);
|
|
74
|
+
max?: (number | null);
|
|
75
|
+
};
|
|
76
|
+
heat?: {
|
|
77
|
+
value?: number;
|
|
78
|
+
min?: (number | null);
|
|
79
|
+
max?: (number | null);
|
|
80
|
+
};
|
|
81
|
+
auto?: {
|
|
82
|
+
value?: number;
|
|
83
|
+
min?: (number | null);
|
|
84
|
+
max?: (number | null);
|
|
85
|
+
};
|
|
74
86
|
};
|
|
75
87
|
minAutoDelta: number | undefined;
|
|
76
88
|
cycleRate: number | undefined;
|
|
@@ -276,15 +288,15 @@ type ThermostatData = {
|
|
|
276
288
|
offline?: boolean | undefined;
|
|
277
289
|
supportedNotifications?: ("button 1" | "button 2" | "button 3" | "button 4" | "button 5" | "idle" | "powerHasBeedApplied" | "acMainsDisconnected" | "acMainsReconnected" | "replaceBatterySoon" | "replaceBatteryNow" | "batteryOk" | "hardwareFailure" | "softwareFailure" | "hardwareFailureWithCode" | "softwareFailureWithCode" | "motionDetection" | "airFilterNeedsCleaned" | "airFilterNeedsReplaced" | "smokeDetected" | "outsideSafeTemperatureRange" | "outsideSafeHumidityRange" | "scheduleMaintenance" | "doorAjar" | "communicationFailure" | "communicationOk" | "burglarAlarm" | "fireAlarm")[] | undefined;
|
|
278
290
|
notification?: {
|
|
279
|
-
name?:
|
|
291
|
+
name?: ("button 1" | "button 2" | "button 3" | "button 4" | "button 5" | "idle" | "powerHasBeedApplied" | "acMainsDisconnected" | "acMainsReconnected" | "replaceBatterySoon" | "replaceBatteryNow" | "batteryOk" | "hardwareFailure" | "softwareFailure" | "hardwareFailureWithCode" | "softwareFailureWithCode" | "motionDetection" | "airFilterNeedsCleaned" | "airFilterNeedsReplaced" | "smokeDetected" | "outsideSafeTemperatureRange" | "outsideSafeHumidityRange" | "scheduleMaintenance" | "doorAjar" | "communicationFailure" | "communicationOk" | "burglarAlarm" | "fireAlarm");
|
|
280
292
|
timestamp?: number;
|
|
281
293
|
description?: string;
|
|
282
294
|
} | undefined;
|
|
283
295
|
currentTemperature?: number | undefined;
|
|
284
296
|
currentHumidity?: number | undefined;
|
|
285
|
-
hvacMode:
|
|
297
|
+
hvacMode: ("cool" | "heat" | "auto" | "off");
|
|
286
298
|
hvacState: ("cooling" | "heating" | "off");
|
|
287
|
-
fanMode:
|
|
299
|
+
fanMode: ("auto" | "low" | "medium" | "high" | "off" | "on");
|
|
288
300
|
fanState: ("off" | "low" | "medium" | "high" | "on");
|
|
289
301
|
/**
|
|
290
302
|
* - Default: "fahrenheit"
|
|
@@ -294,9 +306,21 @@ type ThermostatData = {
|
|
|
294
306
|
supportedHvacModes: ("cool" | "heat" | "auto" | "off")[];
|
|
295
307
|
supportedFanModes: ("auto" | "low" | "medium" | "high" | "off" | "on")[];
|
|
296
308
|
setpoints: {
|
|
297
|
-
cool?:
|
|
298
|
-
|
|
299
|
-
|
|
309
|
+
cool?: {
|
|
310
|
+
value?: number;
|
|
311
|
+
min?: (number | null);
|
|
312
|
+
max?: (number | null);
|
|
313
|
+
};
|
|
314
|
+
heat?: {
|
|
315
|
+
value?: number;
|
|
316
|
+
min?: (number | null);
|
|
317
|
+
max?: (number | null);
|
|
318
|
+
};
|
|
319
|
+
auto?: {
|
|
320
|
+
value?: number;
|
|
321
|
+
min?: (number | null);
|
|
322
|
+
max?: (number | null);
|
|
323
|
+
};
|
|
300
324
|
};
|
|
301
325
|
/**
|
|
302
326
|
* - Default: 3
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Thermostat}from"../chunk-
|
|
1
|
+
import{Thermostat}from"../chunk-7AFOPOH6.js";import"../chunk-OX6FTZ5L.js";import"../chunk-YPJMXYGL.js";import"../chunk-5FSWHSBF.js";import"../chunk-P3ZPJTJ2.js";import"../chunk-XE4OXN2W.js";export{Thermostat};//# sourceMappingURL=thermostat.js.map
|