@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.
Files changed (240) hide show
  1. package/dist/amqpClient.cjs.map +1 -1
  2. package/dist/amqpClient.js +1 -1
  3. package/dist/{chunk-4RGKXRCC.js → chunk-3T7O6SSX.js} +1 -1
  4. package/dist/chunk-3T7O6SSX.js.map +1 -0
  5. package/dist/{chunk-EFDNWLMA.js → chunk-44FUQXMY.js} +1 -1
  6. package/dist/chunk-44FUQXMY.js.map +1 -0
  7. package/dist/{chunk-HAZA2CC4.js → chunk-4JPS6JAG.js} +1 -1
  8. package/dist/chunk-4JPS6JAG.js.map +1 -0
  9. package/dist/{chunk-VWZZQPYF.js → chunk-5GYG24VQ.js} +1 -1
  10. package/dist/{chunk-R7LFTNN3.js → chunk-5QBIGY4H.js} +1 -1
  11. package/dist/{chunk-R7LFTNN3.js.map → chunk-5QBIGY4H.js.map} +1 -1
  12. package/dist/{chunk-4E6X4AWF.js → chunk-5UTH7OAH.js} +1 -1
  13. package/dist/chunk-5UTH7OAH.js.map +1 -0
  14. package/dist/{chunk-UBBFO4DV.js → chunk-7AFOPOH6.js} +1 -1
  15. package/dist/chunk-7AFOPOH6.js.map +1 -0
  16. package/dist/{chunk-5IUMCO6K.js → chunk-AHC2WGJE.js} +1 -1
  17. package/dist/chunk-AHC2WGJE.js.map +1 -0
  18. package/dist/{chunk-AT5O6OJM.js → chunk-BDSQQ6HP.js} +1 -1
  19. package/dist/chunk-BDSQQ6HP.js.map +1 -0
  20. package/dist/{chunk-CW272SBN.js → chunk-BHKQEUCN.js} +1 -1
  21. package/dist/{chunk-CW272SBN.js.map → chunk-BHKQEUCN.js.map} +1 -1
  22. package/dist/{chunk-KE6CXWXD.js → chunk-BSJSKTKW.js} +1 -1
  23. package/dist/chunk-BSJSKTKW.js.map +1 -0
  24. package/dist/{chunk-QUHOFRXV.js → chunk-C5BVAUUD.js} +1 -1
  25. package/dist/chunk-C5BVAUUD.js.map +1 -0
  26. package/dist/{chunk-2UB3LUDU.js → chunk-DYI5AGYE.js} +1 -1
  27. package/dist/chunk-DYI5AGYE.js.map +1 -0
  28. package/dist/{chunk-E74W6L7V.js → chunk-EQRRWEUV.js} +1 -1
  29. package/dist/chunk-EQRRWEUV.js.map +1 -0
  30. package/dist/{chunk-5QKL3YIQ.js → chunk-GGDJAKJZ.js} +1 -1
  31. package/dist/{chunk-5QKL3YIQ.js.map → chunk-GGDJAKJZ.js.map} +1 -1
  32. package/dist/{chunk-IDRUXPFD.js → chunk-GOX3QHII.js} +1 -1
  33. package/dist/{chunk-IDRUXPFD.js.map → chunk-GOX3QHII.js.map} +1 -1
  34. package/dist/{chunk-IVOUXLE7.js → chunk-GXHDNNEZ.js} +1 -1
  35. package/dist/chunk-GXHDNNEZ.js.map +1 -0
  36. package/dist/{chunk-3AH7ESNC.js → chunk-J2AC6RFR.js} +1 -1
  37. package/dist/chunk-J2AC6RFR.js.map +1 -0
  38. package/dist/{chunk-3JL7QMK4.js → chunk-JF2EVZYA.js} +1 -1
  39. package/dist/chunk-JF2EVZYA.js.map +1 -0
  40. package/dist/{chunk-VX4FUPNL.js → chunk-JGB2IDZ6.js} +1 -1
  41. package/dist/chunk-JGB2IDZ6.js.map +1 -0
  42. package/dist/{chunk-4JJEZYIX.js → chunk-LKIPRLBQ.js} +1 -1
  43. package/dist/chunk-LKIPRLBQ.js.map +1 -0
  44. package/dist/{chunk-TLXGHYP5.js → chunk-M7J5VN2K.js} +1 -1
  45. package/dist/{chunk-TLXGHYP5.js.map → chunk-M7J5VN2K.js.map} +1 -1
  46. package/dist/{chunk-WNUSIEB4.js → chunk-NVHDJTCZ.js} +1 -1
  47. package/dist/{chunk-ZZMM3QTI.js → chunk-O3T2FO7O.js} +1 -1
  48. package/dist/{chunk-ZZMM3QTI.js.map → chunk-O3T2FO7O.js.map} +1 -1
  49. package/dist/{chunk-XO5U52AY.js → chunk-OEO6RXVP.js} +1 -1
  50. package/dist/chunk-OEO6RXVP.js.map +1 -0
  51. package/dist/{chunk-BRMQZWQQ.js → chunk-QAOGHEYG.js} +1 -1
  52. package/dist/chunk-QAOGHEYG.js.map +1 -0
  53. package/dist/{chunk-OYGGJUZ2.js → chunk-S5OTB2OU.js} +1 -1
  54. package/dist/chunk-S5OTB2OU.js.map +1 -0
  55. package/dist/{chunk-O3P2AKRX.js → chunk-STZLODEY.js} +1 -1
  56. package/dist/chunk-STZLODEY.js.map +1 -0
  57. package/dist/{chunk-BORTGG46.js → chunk-T7ZYREDK.js} +1 -1
  58. package/dist/chunk-T7ZYREDK.js.map +1 -0
  59. package/dist/{chunk-CEYKBJZW.js → chunk-TI3ILTHZ.js} +1 -1
  60. package/dist/chunk-TI3ILTHZ.js.map +1 -0
  61. package/dist/{chunk-RXY4LNO4.js → chunk-W7P3OFBI.js} +1 -1
  62. package/dist/chunk-W7P3OFBI.js.map +1 -0
  63. package/dist/{chunk-U2AGLPI4.js → chunk-WJWT5H6X.js} +1 -1
  64. package/dist/chunk-WJWT5H6X.js.map +1 -0
  65. package/dist/{chunk-QC6E54KG.js → chunk-WSJEJ7RX.js} +1 -1
  66. package/dist/chunk-WSJEJ7RX.js.map +1 -0
  67. package/dist/{chunk-QDDBU2BV.js → chunk-X2VO5SPG.js} +1 -1
  68. package/dist/chunk-X2VO5SPG.js.map +1 -0
  69. package/dist/{chunk-KY6X4QAD.js → chunk-X42K4JVV.js} +1 -1
  70. package/dist/chunk-X42K4JVV.js.map +1 -0
  71. package/dist/{chunk-K3NN32XK.js → chunk-XNM55KLN.js} +1 -1
  72. package/dist/chunk-XNM55KLN.js.map +1 -0
  73. package/dist/{chunk-YMVHMEXG.js → chunk-XYTZBG4S.js} +1 -1
  74. package/dist/chunk-XYTZBG4S.js.map +1 -0
  75. package/dist/commands/index.cjs.map +1 -1
  76. package/dist/commands/index.js +1 -1
  77. package/dist/errors/index.cjs.map +1 -1
  78. package/dist/errors/index.js +1 -1
  79. package/dist/events/index.cjs.map +1 -1
  80. package/dist/events/index.js +1 -1
  81. package/dist/index.cjs.map +1 -1
  82. package/dist/index.js +1 -1
  83. package/dist/models/alarm.cjs.map +1 -1
  84. package/dist/models/alarm.d.cts +8 -8
  85. package/dist/models/alarm.d.ts +8 -8
  86. package/dist/models/alarm.js +1 -1
  87. package/dist/models/announcement.cjs.map +1 -1
  88. package/dist/models/announcement.d.cts +13 -13
  89. package/dist/models/announcement.d.ts +13 -13
  90. package/dist/models/announcement.js +1 -1
  91. package/dist/models/camera.cjs.map +1 -1
  92. package/dist/models/camera.d.cts +23 -23
  93. package/dist/models/camera.d.ts +23 -23
  94. package/dist/models/camera.js +1 -1
  95. package/dist/models/category.cjs.map +1 -1
  96. package/dist/models/category.d.cts +13 -13
  97. package/dist/models/category.d.ts +13 -13
  98. package/dist/models/category.js +1 -1
  99. package/dist/models/courtesy.cjs.map +1 -1
  100. package/dist/models/courtesy.d.cts +6 -6
  101. package/dist/models/courtesy.d.ts +6 -6
  102. package/dist/models/courtesy.js +1 -1
  103. package/dist/models/credential.cjs.map +1 -1
  104. package/dist/models/credential.d.cts +2 -2
  105. package/dist/models/credential.d.ts +2 -2
  106. package/dist/models/credential.js +1 -1
  107. package/dist/models/deviceRouter.cjs.map +1 -1
  108. package/dist/models/deviceRouter.d.cts +3 -3
  109. package/dist/models/deviceRouter.d.ts +3 -3
  110. package/dist/models/deviceRouter.js +1 -1
  111. package/dist/models/dimmer.cjs.map +1 -1
  112. package/dist/models/dimmer.d.cts +6 -6
  113. package/dist/models/dimmer.d.ts +6 -6
  114. package/dist/models/dimmer.js +1 -1
  115. package/dist/models/discoveredDevice.cjs.map +1 -1
  116. package/dist/models/discoveredDevice.d.cts +6 -6
  117. package/dist/models/discoveredDevice.d.ts +6 -6
  118. package/dist/models/discoveredDevice.js +1 -1
  119. package/dist/models/gateway.cjs.map +1 -1
  120. package/dist/models/gateway.d.cts +3 -3
  121. package/dist/models/gateway.d.ts +3 -3
  122. package/dist/models/gateway.js +1 -1
  123. package/dist/models/identification.cjs.map +1 -1
  124. package/dist/models/identification.d.cts +2 -2
  125. package/dist/models/identification.d.ts +2 -2
  126. package/dist/models/identification.js +1 -1
  127. package/dist/models/index.cjs.map +1 -1
  128. package/dist/models/index.js +1 -1
  129. package/dist/models/lock.cjs.map +1 -1
  130. package/dist/models/lock.d.cts +3 -3
  131. package/dist/models/lock.d.ts +3 -3
  132. package/dist/models/lock.js +1 -1
  133. package/dist/models/mediaSource.cjs.map +1 -1
  134. package/dist/models/mediaSource.d.cts +8 -8
  135. package/dist/models/mediaSource.d.ts +8 -8
  136. package/dist/models/mediaSource.js +1 -1
  137. package/dist/models/motionSensor.cjs.map +1 -1
  138. package/dist/models/motionSensor.d.cts +3 -3
  139. package/dist/models/motionSensor.d.ts +3 -3
  140. package/dist/models/motionSensor.js +1 -1
  141. package/dist/models/organization.cjs.map +1 -1
  142. package/dist/models/organization.d.cts +6 -6
  143. package/dist/models/organization.d.ts +6 -6
  144. package/dist/models/organization.js +1 -1
  145. package/dist/models/payment.cjs.map +1 -1
  146. package/dist/models/payment.d.cts +6 -6
  147. package/dist/models/payment.d.ts +6 -6
  148. package/dist/models/payment.js +1 -1
  149. package/dist/models/product.cjs.map +1 -1
  150. package/dist/models/product.d.cts +16 -16
  151. package/dist/models/product.d.ts +16 -16
  152. package/dist/models/product.js +1 -1
  153. package/dist/models/property.cjs.map +1 -1
  154. package/dist/models/property.d.cts +3 -3
  155. package/dist/models/property.d.ts +3 -3
  156. package/dist/models/property.js +1 -1
  157. package/dist/models/reservation.cjs.map +1 -1
  158. package/dist/models/reservation.d.cts +9 -9
  159. package/dist/models/reservation.d.ts +9 -9
  160. package/dist/models/reservation.js +1 -1
  161. package/dist/models/room.cjs.map +1 -1
  162. package/dist/models/room.d.cts +304 -182
  163. package/dist/models/room.d.ts +304 -182
  164. package/dist/models/room.js +1 -1
  165. package/dist/models/scene.cjs.map +1 -1
  166. package/dist/models/scene.d.cts +39 -15
  167. package/dist/models/scene.d.ts +39 -15
  168. package/dist/models/scene.js +1 -1
  169. package/dist/models/session.cjs.map +1 -1
  170. package/dist/models/session.d.cts +2 -2
  171. package/dist/models/session.d.ts +2 -2
  172. package/dist/models/session.js +1 -1
  173. package/dist/models/space.cjs.map +1 -1
  174. package/dist/models/space.d.cts +3 -3
  175. package/dist/models/space.d.ts +3 -3
  176. package/dist/models/space.js +1 -1
  177. package/dist/models/switch.cjs.map +1 -1
  178. package/dist/models/switch.d.cts +3 -3
  179. package/dist/models/switch.d.ts +3 -3
  180. package/dist/models/switch.js +1 -1
  181. package/dist/models/system.cjs.map +1 -1
  182. package/dist/models/system.d.cts +13 -13
  183. package/dist/models/system.d.ts +13 -13
  184. package/dist/models/system.js +1 -1
  185. package/dist/models/systemUser.cjs.map +1 -1
  186. package/dist/models/systemUser.d.cts +38 -38
  187. package/dist/models/systemUser.d.ts +38 -38
  188. package/dist/models/systemUser.js +1 -1
  189. package/dist/models/thermostat.cjs.map +1 -1
  190. package/dist/models/thermostat.d.cts +40 -16
  191. package/dist/models/thermostat.d.ts +40 -16
  192. package/dist/models/thermostat.js +1 -1
  193. package/dist/models/user.cjs.map +1 -1
  194. package/dist/models/user.d.cts +105 -93
  195. package/dist/models/user.d.ts +105 -93
  196. package/dist/models/user.js +1 -1
  197. package/dist/models/vendor.cjs.map +1 -1
  198. package/dist/models/vendor.d.cts +19 -19
  199. package/dist/models/vendor.d.ts +19 -19
  200. package/dist/models/vendor.js +1 -1
  201. package/dist/models/windowCovering.cjs.map +1 -1
  202. package/dist/models/windowCovering.d.cts +6 -6
  203. package/dist/models/windowCovering.d.ts +6 -6
  204. package/dist/models/windowCovering.js +1 -1
  205. package/dist/useCases/index.cjs.map +1 -1
  206. package/dist/useCases/index.js +1 -1
  207. package/dist/utils.cjs.map +1 -1
  208. package/dist/utils.js +1 -1
  209. package/package.json +1 -1
  210. package/dist/chunk-2UB3LUDU.js.map +0 -1
  211. package/dist/chunk-3AH7ESNC.js.map +0 -1
  212. package/dist/chunk-3JL7QMK4.js.map +0 -1
  213. package/dist/chunk-4E6X4AWF.js.map +0 -1
  214. package/dist/chunk-4JJEZYIX.js.map +0 -1
  215. package/dist/chunk-4RGKXRCC.js.map +0 -1
  216. package/dist/chunk-5IUMCO6K.js.map +0 -1
  217. package/dist/chunk-AT5O6OJM.js.map +0 -1
  218. package/dist/chunk-BORTGG46.js.map +0 -1
  219. package/dist/chunk-BRMQZWQQ.js.map +0 -1
  220. package/dist/chunk-CEYKBJZW.js.map +0 -1
  221. package/dist/chunk-E74W6L7V.js.map +0 -1
  222. package/dist/chunk-EFDNWLMA.js.map +0 -1
  223. package/dist/chunk-HAZA2CC4.js.map +0 -1
  224. package/dist/chunk-IVOUXLE7.js.map +0 -1
  225. package/dist/chunk-K3NN32XK.js.map +0 -1
  226. package/dist/chunk-KE6CXWXD.js.map +0 -1
  227. package/dist/chunk-KY6X4QAD.js.map +0 -1
  228. package/dist/chunk-O3P2AKRX.js.map +0 -1
  229. package/dist/chunk-OYGGJUZ2.js.map +0 -1
  230. package/dist/chunk-QC6E54KG.js.map +0 -1
  231. package/dist/chunk-QDDBU2BV.js.map +0 -1
  232. package/dist/chunk-QUHOFRXV.js.map +0 -1
  233. package/dist/chunk-RXY4LNO4.js.map +0 -1
  234. package/dist/chunk-U2AGLPI4.js.map +0 -1
  235. package/dist/chunk-UBBFO4DV.js.map +0 -1
  236. package/dist/chunk-VX4FUPNL.js.map +0 -1
  237. package/dist/chunk-XO5U52AY.js.map +0 -1
  238. package/dist/chunk-YMVHMEXG.js.map +0 -1
  239. /package/dist/{chunk-VWZZQPYF.js.map → chunk-5GYG24VQ.js.map} +0 -0
  240. /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?: string, timestamp?: number, description?: string}} [notification]
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 {any} hvacMode
15
+ * @property {("cool"|"heat"|"auto"|"off")} hvacMode
16
16
  * @property {("cooling"|"heating"|"off")} hvacState
17
- * @property {any} fanMode
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?: any, heat?: any, auto?: any}} setpoints
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?: string;
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: any;
62
+ hvacMode: "off" | "cool" | "heat" | "auto";
63
63
  hvacState: "off" | "cooling" | "heating";
64
- fanMode: any;
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?: any;
72
- heat?: any;
73
- auto?: any;
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?: string;
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: any;
297
+ hvacMode: ("cool" | "heat" | "auto" | "off");
286
298
  hvacState: ("cooling" | "heating" | "off");
287
- fanMode: any;
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?: any;
298
- heat?: any;
299
- auto?: any;
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?: string, timestamp?: number, description?: string}} [notification]
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 {any} hvacMode
15
+ * @property {("cool"|"heat"|"auto"|"off")} hvacMode
16
16
  * @property {("cooling"|"heating"|"off")} hvacState
17
- * @property {any} fanMode
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?: any, heat?: any, auto?: any}} setpoints
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?: string;
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: any;
62
+ hvacMode: "off" | "cool" | "heat" | "auto";
63
63
  hvacState: "off" | "cooling" | "heating";
64
- fanMode: any;
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?: any;
72
- heat?: any;
73
- auto?: any;
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?: string;
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: any;
297
+ hvacMode: ("cool" | "heat" | "auto" | "off");
286
298
  hvacState: ("cooling" | "heating" | "off");
287
- fanMode: any;
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?: any;
298
- heat?: any;
299
- auto?: any;
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-UBBFO4DV.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
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