@kohost/api-client 4.17.1 → 4.17.2

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.
@@ -40,8 +40,16 @@ class Thermostat extends import_entity.Entity {
40
40
  if (data.notification !== void 0) this.notification = data.notification;
41
41
  if (data.currentTemperature !== void 0)
42
42
  this.currentTemperature = data.currentTemperature;
43
+ if (data.maxSafeCurrentTemp !== void 0)
44
+ this.maxSafeCurrentTemp = data.maxSafeCurrentTemp;
45
+ if (data.minSafeCurrentTemp !== void 0)
46
+ this.minSafeCurrentTemp = data.minSafeCurrentTemp;
43
47
  if (data.currentHumidity !== void 0)
44
48
  this.currentHumidity = data.currentHumidity;
49
+ if (data.maxSafeCurrentHumidity !== void 0)
50
+ this.maxSafeCurrentHumidity = data.maxSafeCurrentHumidity;
51
+ if (data.minSafeCurrentHumidity !== void 0)
52
+ this.minSafeCurrentHumidity = data.minSafeCurrentHumidity;
45
53
  this.hvacMode = data.hvacMode;
46
54
  this.hvacState = data.hvacState;
47
55
  this.fanMode = data.fanMode;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../.generated/models/thermostat.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity.js\";\nimport { validateThermostat as validate } from \"../validate.js\";\nimport {\n thermostatSchema,\n type ThermostatSchema,\n} from \"../schemas/thermostat.js\";\n\n/**\n * Data type for Thermostat constructor - exported for backwards compatibility\n */\nexport type ThermostatData = ThermostatSchema;\n\n/**\n * Any smart thermostat\n */\nexport interface Thermostat extends ThermostatSchema {}\nexport class Thermostat extends Entity {\n declare schema: typeof thermostatSchema;\n declare validator: typeof validate;\n\n constructor(data: ThermostatSchema) {\n super(data);\n this.id = data.id;\n if (data.name !== undefined) this.name = data.name;\n this.type = data.type;\n this.driver = data.driver;\n if (data.offline !== undefined) this.offline = data.offline;\n if (data.supportedNotifications !== undefined)\n this.supportedNotifications = data.supportedNotifications;\n if (data.notification !== undefined) this.notification = data.notification;\n if (data.currentTemperature !== undefined)\n this.currentTemperature = data.currentTemperature;\n if (data.currentHumidity !== undefined)\n this.currentHumidity = data.currentHumidity;\n this.hvacMode = data.hvacMode;\n this.hvacState = data.hvacState;\n this.fanMode = data.fanMode;\n this.fanState = data.fanState;\n this.temperatureScale = data.temperatureScale;\n if (data.humidityScale !== undefined)\n this.humidityScale = data.humidityScale;\n this.supportedHvacModes = data.supportedHvacModes;\n this.supportedFanModes = data.supportedFanModes;\n this.setpoints = data.setpoints;\n if (data.minAutoDelta !== undefined) this.minAutoDelta = data.minAutoDelta;\n if (data.cycleRate !== undefined) this.cycleRate = data.cycleRate;\n if (data.co2 !== undefined) this.co2 = data.co2;\n if (data.voc !== undefined) this.voc = data.voc;\n if (data.batteryLevel !== undefined) this.batteryLevel = data.batteryLevel;\n if (data.systemId !== undefined) this.systemId = data.systemId;\n if (data.watts !== undefined) this.watts = data.watts;\n if (data.icon !== undefined) this.icon = data.icon;\n if (data.manufacturer !== undefined) this.manufacturer = data.manufacturer;\n if (data.modelNumber !== undefined) this.modelNumber = data.modelNumber;\n if (data.serialNumber !== undefined) this.serialNumber = data.serialNumber;\n if (data.firmwareVersion !== undefined)\n this.firmwareVersion = data.firmwareVersion;\n if (data.uiEnabled !== undefined) this.uiEnabled = data.uiEnabled;\n }\n}\n\nObject.defineProperty(Thermostat.prototype, \"schema\", {\n value: thermostatSchema,\n});\n\nObject.defineProperty(Thermostat.prototype, \"validator\", {\n get: function () {\n return validate;\n },\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,oBAAuB;AACvB,sBAA+C;AAC/C,wBAGO;AAWA,MAAM,mBAAmB,qBAAO;AAAA,EAlBvC,OAkBuC;AAAA;AAAA;AAAA,EAIrC,YAAY,MAAwB;AAClC,UAAM,IAAI;AACV,SAAK,KAAK,KAAK;AACf,QAAI,KAAK,SAAS,OAAW,MAAK,OAAO,KAAK;AAC9C,SAAK,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AAEA,OAAO,eAAe,WAAW,WAAW,UAAU;AAAA,EACpD,OAAO;AACT,CAAC;AAED,OAAO,eAAe,WAAW,WAAW,aAAa;AAAA,EACvD,KAAK,kCAAY;AACf,WAAO,gBAAAA;AAAA,EACT,GAFK;AAGP,CAAC;","names":["validate"]}
1
+ {"version":3,"sources":["../../../.generated/models/thermostat.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity.js\";\nimport { validateThermostat as validate } from \"../validate.js\";\nimport {\n thermostatSchema,\n type ThermostatSchema,\n} from \"../schemas/thermostat.js\";\n\n/**\n * Data type for Thermostat constructor - exported for backwards compatibility\n */\nexport type ThermostatData = ThermostatSchema;\n\n/**\n * Any smart thermostat\n */\nexport interface Thermostat extends ThermostatSchema {}\nexport class Thermostat extends Entity {\n declare schema: typeof thermostatSchema;\n declare validator: typeof validate;\n\n constructor(data: ThermostatSchema) {\n super(data);\n this.id = data.id;\n if (data.name !== undefined) this.name = data.name;\n this.type = data.type;\n this.driver = data.driver;\n if (data.offline !== undefined) this.offline = data.offline;\n if (data.supportedNotifications !== undefined)\n this.supportedNotifications = data.supportedNotifications;\n if (data.notification !== undefined) this.notification = data.notification;\n if (data.currentTemperature !== undefined)\n this.currentTemperature = data.currentTemperature;\n if (data.maxSafeCurrentTemp !== undefined)\n this.maxSafeCurrentTemp = data.maxSafeCurrentTemp;\n if (data.minSafeCurrentTemp !== undefined)\n this.minSafeCurrentTemp = data.minSafeCurrentTemp;\n if (data.currentHumidity !== undefined)\n this.currentHumidity = data.currentHumidity;\n if (data.maxSafeCurrentHumidity !== undefined)\n this.maxSafeCurrentHumidity = data.maxSafeCurrentHumidity;\n if (data.minSafeCurrentHumidity !== undefined)\n this.minSafeCurrentHumidity = data.minSafeCurrentHumidity;\n this.hvacMode = data.hvacMode;\n this.hvacState = data.hvacState;\n this.fanMode = data.fanMode;\n this.fanState = data.fanState;\n this.temperatureScale = data.temperatureScale;\n if (data.humidityScale !== undefined)\n this.humidityScale = data.humidityScale;\n this.supportedHvacModes = data.supportedHvacModes;\n this.supportedFanModes = data.supportedFanModes;\n this.setpoints = data.setpoints;\n if (data.minAutoDelta !== undefined) this.minAutoDelta = data.minAutoDelta;\n if (data.cycleRate !== undefined) this.cycleRate = data.cycleRate;\n if (data.co2 !== undefined) this.co2 = data.co2;\n if (data.voc !== undefined) this.voc = data.voc;\n if (data.batteryLevel !== undefined) this.batteryLevel = data.batteryLevel;\n if (data.systemId !== undefined) this.systemId = data.systemId;\n if (data.watts !== undefined) this.watts = data.watts;\n if (data.icon !== undefined) this.icon = data.icon;\n if (data.manufacturer !== undefined) this.manufacturer = data.manufacturer;\n if (data.modelNumber !== undefined) this.modelNumber = data.modelNumber;\n if (data.serialNumber !== undefined) this.serialNumber = data.serialNumber;\n if (data.firmwareVersion !== undefined)\n this.firmwareVersion = data.firmwareVersion;\n if (data.uiEnabled !== undefined) this.uiEnabled = data.uiEnabled;\n }\n}\n\nObject.defineProperty(Thermostat.prototype, \"schema\", {\n value: thermostatSchema,\n});\n\nObject.defineProperty(Thermostat.prototype, \"validator\", {\n get: function () {\n return validate;\n },\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,oBAAuB;AACvB,sBAA+C;AAC/C,wBAGO;AAWA,MAAM,mBAAmB,qBAAO;AAAA,EAlBvC,OAkBuC;AAAA;AAAA;AAAA,EAIrC,YAAY,MAAwB;AAClC,UAAM,IAAI;AACV,SAAK,KAAK,KAAK;AACf,QAAI,KAAK,SAAS,OAAW,MAAK,OAAO,KAAK;AAC9C,SAAK,OAAO,KAAK;AACjB,SAAK,SAAS,KAAK;AACnB,QAAI,KAAK,YAAY,OAAW,MAAK,UAAU,KAAK;AACpD,QAAI,KAAK,2BAA2B;AAClC,WAAK,yBAAyB,KAAK;AACrC,QAAI,KAAK,iBAAiB,OAAW,MAAK,eAAe,KAAK;AAC9D,QAAI,KAAK,uBAAuB;AAC9B,WAAK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AAe,WAAW,WAAW,UAAU;AAAA,EACpD,OAAO;AACT,CAAC;AAED,OAAO,eAAe,WAAW,WAAW,aAAa;AAAA,EACvD,KAAK,kCAAY;AACf,WAAO,gBAAAA;AAAA,EACT,GAFK;AAGP,CAAC;","names":["validate"]}
@@ -67,10 +67,26 @@ const thermostatSchema = {
67
67
  currentTemperature: {
68
68
  type: "number"
69
69
  },
70
+ maxSafeCurrentTemp: {
71
+ type: ["number", "null"],
72
+ description: "Maximum safe temperature"
73
+ },
74
+ minSafeCurrentTemp: {
75
+ type: ["number", "null"],
76
+ description: "Minimum safe temperature"
77
+ },
70
78
  currentHumidity: {
71
79
  type: "number",
72
80
  minimum: 0
73
81
  },
82
+ maxSafeCurrentHumidity: {
83
+ type: ["number", "null"],
84
+ description: "Maximum safe humidity"
85
+ },
86
+ minSafeCurrentHumidity: {
87
+ type: ["number", "null"],
88
+ description: "Minimum safe humidity"
89
+ },
74
90
  hvacMode: {
75
91
  type: "string",
76
92
  enum: ["cool", "heat", "auto", "off"]
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../.generated/schemas/thermostat.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\n\nexport const thermostatSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"thermostat.json\",\n title: \"Thermostat\",\n description: \"Any smart thermostat\",\n type: \"object\",\n required: [\n \"id\",\n \"type\",\n \"hvacMode\",\n \"fanMode\",\n \"hvacState\",\n \"fanState\",\n \"setpoints\",\n \"temperatureScale\",\n \"supportedHvacModes\",\n \"supportedFanModes\",\n \"driver\",\n ],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n name: {\n $ref: \"definitions.json#/definitions/name\",\n },\n type: {\n type: \"string\",\n enum: [\"thermostat\"],\n default: \"thermostat\",\n },\n driver: {\n $ref: \"definitions.json#/definitions/driver\",\n },\n offline: {\n type: \"boolean\",\n },\n supportedNotifications: {\n $ref: \"definitions.json#/definitions/supportedNotifications\",\n },\n notification: {\n $ref: \"definitions.json#/definitions/notification\",\n },\n currentTemperature: {\n type: \"number\",\n },\n currentHumidity: {\n type: \"number\",\n minimum: 0,\n },\n hvacMode: {\n type: \"string\",\n enum: [\"cool\", \"heat\", \"auto\", \"off\"],\n },\n hvacState: {\n type: [\"string\", \"null\"],\n enum: [\"cooling\", \"heating\", \"off\", null],\n },\n fanMode: {\n type: \"string\",\n enum: [\"auto\", \"low\", \"medium\", \"high\", \"off\", \"on\"],\n },\n fanState: {\n type: [\"string\", \"null\"],\n enum: [\"off\", \"low\", \"medium\", \"high\", \"on\", null],\n },\n temperatureScale: {\n type: \"string\",\n enum: [\"celsius\", \"fahrenheit\"],\n default: \"fahrenheit\",\n },\n humidityScale: {\n type: [\"string\", \"null\"],\n enum: [\"absolute\", \"relative\", null],\n },\n supportedHvacModes: {\n type: \"array\",\n uniqueItems: true,\n minItems: 2,\n items: {\n type: \"string\",\n enum: [\"cool\", \"heat\", \"auto\", \"off\"],\n },\n },\n supportedFanModes: {\n type: \"array\",\n uniqueItems: true,\n items: {\n type: \"string\",\n enum: [\"auto\", \"low\", \"medium\", \"high\", \"off\", \"on\"],\n },\n },\n setpoints: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n cool: {\n $ref: \"#/definitions/setpoint\",\n },\n heat: {\n $ref: \"#/definitions/setpoint\",\n },\n auto: {\n $ref: \"#/definitions/setpoint\",\n },\n },\n },\n minAutoDelta: {\n type: \"number\",\n default: 3,\n },\n cycleRate: {\n type: \"number\",\n },\n co2: {\n type: \"number\",\n description: \"Parts per million (ppm)\",\n },\n voc: {\n type: \"number\",\n description: \"Parts per billion (ppb)\",\n },\n batteryLevel: {\n $ref: \"definitions.json#/definitions/batteryLevel\",\n },\n systemId: {\n $ref: \"definitions.json#/definitions/systemId\",\n },\n watts: {\n $ref: \"definitions.json#/definitions/watts\",\n },\n icon: {\n type: \"string\",\n },\n manufacturer: {\n type: \"string\",\n },\n modelNumber: {\n type: \"string\",\n },\n serialNumber: {\n type: \"string\",\n },\n firmwareVersion: {\n type: \"string\",\n },\n uiEnabled: {\n type: \"boolean\",\n description: \"Local thermostat controls active or not\",\n default: true,\n },\n },\n definitions: {\n setpoint: {\n type: \"object\",\n additionalProperties: false,\n required: [\"value\", \"min\", \"max\"],\n properties: {\n value: {\n type: \"number\",\n minimum: 0,\n maximum: 99,\n },\n min: {\n type: [\"number\", \"null\"],\n minimum: 0,\n maximum: 99,\n },\n max: {\n type: [\"number\", \"null\"],\n minimum: 0,\n maximum: 99,\n },\n },\n },\n },\n} as const;\n\nexport type ThermostatSchema = FromSchema<\n typeof thermostatSchema,\n {\n references: [typeof defs];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,MAAM,mBAAmB;AAAA,EAC9B,SAAS;AAAA,EACT,KAAK;AAAA,EACL,OAAO;AAAA,EACP,aAAa;AAAA,EACb,MAAM;AAAA,EACN,UAAU;AAAA,IACR;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,sBAAsB;AAAA,EACtB,YAAY;AAAA,IACV,IAAI;AAAA,MACF,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,MAAM,CAAC,YAAY;AAAA,MACnB,SAAS;AAAA,IACX;AAAA,IACA,QAAQ;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA,SAAS;AAAA,MACP,MAAM;AAAA,IACR;AAAA,IACA,wBAAwB;AAAA,MACtB,MAAM;AAAA,IACR;AAAA,IACA,cAAc;AAAA,MACZ,MAAM;AAAA,IACR;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","names":[]}
1
+ {"version":3,"sources":["../../../.generated/schemas/thermostat.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\n\nexport const thermostatSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"thermostat.json\",\n title: \"Thermostat\",\n description: \"Any smart thermostat\",\n type: \"object\",\n required: [\n \"id\",\n \"type\",\n \"hvacMode\",\n \"fanMode\",\n \"hvacState\",\n \"fanState\",\n \"setpoints\",\n \"temperatureScale\",\n \"supportedHvacModes\",\n \"supportedFanModes\",\n \"driver\",\n ],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n name: {\n $ref: \"definitions.json#/definitions/name\",\n },\n type: {\n type: \"string\",\n enum: [\"thermostat\"],\n default: \"thermostat\",\n },\n driver: {\n $ref: \"definitions.json#/definitions/driver\",\n },\n offline: {\n type: \"boolean\",\n },\n supportedNotifications: {\n $ref: \"definitions.json#/definitions/supportedNotifications\",\n },\n notification: {\n $ref: \"definitions.json#/definitions/notification\",\n },\n currentTemperature: {\n type: \"number\",\n },\n maxSafeCurrentTemp: {\n type: [\"number\", \"null\"],\n description: \"Maximum safe temperature\",\n },\n minSafeCurrentTemp: {\n type: [\"number\", \"null\"],\n description: \"Minimum safe temperature\",\n },\n currentHumidity: {\n type: \"number\",\n minimum: 0,\n },\n maxSafeCurrentHumidity: {\n type: [\"number\", \"null\"],\n description: \"Maximum safe humidity\",\n },\n minSafeCurrentHumidity: {\n type: [\"number\", \"null\"],\n description: \"Minimum safe humidity\",\n },\n hvacMode: {\n type: \"string\",\n enum: [\"cool\", \"heat\", \"auto\", \"off\"],\n },\n hvacState: {\n type: [\"string\", \"null\"],\n enum: [\"cooling\", \"heating\", \"off\", null],\n },\n fanMode: {\n type: \"string\",\n enum: [\"auto\", \"low\", \"medium\", \"high\", \"off\", \"on\"],\n },\n fanState: {\n type: [\"string\", \"null\"],\n enum: [\"off\", \"low\", \"medium\", \"high\", \"on\", null],\n },\n temperatureScale: {\n type: \"string\",\n enum: [\"celsius\", \"fahrenheit\"],\n default: \"fahrenheit\",\n },\n humidityScale: {\n type: [\"string\", \"null\"],\n enum: [\"absolute\", \"relative\", null],\n },\n supportedHvacModes: {\n type: \"array\",\n uniqueItems: true,\n minItems: 2,\n items: {\n type: \"string\",\n enum: [\"cool\", \"heat\", \"auto\", \"off\"],\n },\n },\n supportedFanModes: {\n type: \"array\",\n uniqueItems: true,\n items: {\n type: \"string\",\n enum: [\"auto\", \"low\", \"medium\", \"high\", \"off\", \"on\"],\n },\n },\n setpoints: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n cool: {\n $ref: \"#/definitions/setpoint\",\n },\n heat: {\n $ref: \"#/definitions/setpoint\",\n },\n auto: {\n $ref: \"#/definitions/setpoint\",\n },\n },\n },\n minAutoDelta: {\n type: \"number\",\n default: 3,\n },\n cycleRate: {\n type: \"number\",\n },\n co2: {\n type: \"number\",\n description: \"Parts per million (ppm)\",\n },\n voc: {\n type: \"number\",\n description: \"Parts per billion (ppb)\",\n },\n batteryLevel: {\n $ref: \"definitions.json#/definitions/batteryLevel\",\n },\n systemId: {\n $ref: \"definitions.json#/definitions/systemId\",\n },\n watts: {\n $ref: \"definitions.json#/definitions/watts\",\n },\n icon: {\n type: \"string\",\n },\n manufacturer: {\n type: \"string\",\n },\n modelNumber: {\n type: \"string\",\n },\n serialNumber: {\n type: \"string\",\n },\n firmwareVersion: {\n type: \"string\",\n },\n uiEnabled: {\n type: \"boolean\",\n description: \"Local thermostat controls active or not\",\n default: true,\n },\n },\n definitions: {\n setpoint: {\n type: \"object\",\n additionalProperties: false,\n required: [\"value\", \"min\", \"max\"],\n properties: {\n value: {\n type: \"number\",\n minimum: 0,\n maximum: 99,\n },\n min: {\n type: [\"number\", \"null\"],\n minimum: 0,\n maximum: 99,\n },\n max: {\n type: [\"number\", \"null\"],\n minimum: 0,\n maximum: 99,\n },\n },\n },\n },\n} as const;\n\nexport type ThermostatSchema = FromSchema<\n typeof thermostatSchema,\n {\n references: [typeof defs];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,MAAM,mBAAmB;AAAA,EAC9B,SAAS;AAAA,EACT,KAAK;AAAA,EACL,OAAO;AAAA,EACP,aAAa;AAAA,EACb,MAAM;AAAA,EACN,UAAU;AAAA,IACR;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,sBAAsB;AAAA,EACtB,YAAY;AAAA,IACV,IAAI;AAAA,MACF,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,MAAM,CAAC,YAAY;AAAA,MACnB,SAAS;AAAA,IACX;AAAA,IACA,QAAQ;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA,SAAS;AAAA,MACP,MAAM;AAAA,IACR;AAAA,IACA,wBAAwB;AAAA,MACtB,MAAM;AAAA,IACR;AAAA,IACA,cAAc;AAAA,MACZ,MAAM;AAAA,IACR;AAAA,IACA,oBAAoB;AAAA,MAClB,MAAM;AAAA,IACR;AAAA,IACA,oBAAoB;AAAA,MAClB,MAAM,CAAC,UAAU,MAAM;AAAA,MACvB,aAAa;AAAA,IACf;AAAA,IACA,oBAAoB;AAAA,MAClB,MAAM,CAAC,UAAU,MAAM;AAAA,MACvB,aAAa;AAAA,IACf;AAAA,IACA,iBAAiB;AAAA,MACf,MAAM;AAAA,MACN,SAAS;AAAA,IACX;AAAA,IACA,wBAAwB;AAAA,MACtB,MAAM,CAAC,UAAU,MAAM;AAAA,MACvB,aAAa;AAAA,IACf;AAAA,IACA,wBAAwB;AAAA,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MAAM;AAAA,UACJ,MAAM;AAAA,QACR;AAAA,MACF;AAAA,IACF;AAAA,IACA,cAAc;AAAA,MACZ,MAAM;AAAA,MACN,SAAS;AAAA,IACX;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,IACA,KAAK;AAAA,MACH,MAAM;AAAA,MACN,aAAa;AAAA,IACf;AAAA,IACA,KAAK;AAAA,MACH,MAAM;AAAA,MACN,aAAa;AAAA,IACf;AAAA,IACA,cAAc;AAAA,MACZ,MAAM;AAAA,IACR;AAAA,IACA,UAAU;AAAA,MACR,MAAM;AAAA,IACR;AAAA,IACA,OAAO;AAAA,MACL,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,IACR;AAAA,IACA,cAAc;AAAA,MACZ,MAAM;AAAA,IACR;AAAA,IACA,aAAa;AAAA,MACX,MAAM;AAAA,IACR;AAAA,IACA,cAAc;AAAA,MACZ,MAAM;AAAA,IACR;AAAA,IACA,iBAAiB;AAAA,MACf,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,MACN,aAAa;AAAA,MACb,SAAS;AAAA,IACX;AAAA,EACF;AAAA,EACA,aAAa;AAAA,IACX,UAAU;AAAA,MACR,MAAM;AAAA,MACN,sBAAsB;AAAA,MACtB,UAAU,CAAC,SAAS,OAAO,KAAK;AAAA,MAChC,YAAY;AAAA,QACV,OAAO;AAAA,UACL,MAAM;AAAA,UACN,SAAS;AAAA,UACT,SAAS;AAAA,QACX;AAAA,QACA,KAAK;AAAA,UACH,MAAM,CAAC,UAAU,MAAM;AAAA,UACvB,SAAS;AAAA,UACT,SAAS;AAAA,QACX;AAAA,QACA,KAAK;AAAA,UACH,MAAM,CAAC,UAAU,MAAM;AAAA,UACvB,SAAS;AAAA,UACT,SAAS;AAAA,QACX;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
@@ -36,10 +36,26 @@ declare const thermostatSchema: {
36
36
  readonly currentTemperature: {
37
37
  readonly type: "number";
38
38
  };
39
+ readonly maxSafeCurrentTemp: {
40
+ readonly type: readonly ["number", "null"];
41
+ readonly description: "Maximum safe temperature";
42
+ };
43
+ readonly minSafeCurrentTemp: {
44
+ readonly type: readonly ["number", "null"];
45
+ readonly description: "Minimum safe temperature";
46
+ };
39
47
  readonly currentHumidity: {
40
48
  readonly type: "number";
41
49
  readonly minimum: 0;
42
50
  };
51
+ readonly maxSafeCurrentHumidity: {
52
+ readonly type: readonly ["number", "null"];
53
+ readonly description: "Maximum safe humidity";
54
+ };
55
+ readonly minSafeCurrentHumidity: {
56
+ readonly type: readonly ["number", "null"];
57
+ readonly description: "Minimum safe humidity";
58
+ };
43
59
  readonly hvacMode: {
44
60
  readonly type: "string";
45
61
  readonly enum: readonly ["cool", "heat", "auto", "off"];
@@ -21,8 +21,16 @@ class Thermostat extends Entity {
21
21
  if (data.notification !== void 0) this.notification = data.notification;
22
22
  if (data.currentTemperature !== void 0)
23
23
  this.currentTemperature = data.currentTemperature;
24
+ if (data.maxSafeCurrentTemp !== void 0)
25
+ this.maxSafeCurrentTemp = data.maxSafeCurrentTemp;
26
+ if (data.minSafeCurrentTemp !== void 0)
27
+ this.minSafeCurrentTemp = data.minSafeCurrentTemp;
24
28
  if (data.currentHumidity !== void 0)
25
29
  this.currentHumidity = data.currentHumidity;
30
+ if (data.maxSafeCurrentHumidity !== void 0)
31
+ this.maxSafeCurrentHumidity = data.maxSafeCurrentHumidity;
32
+ if (data.minSafeCurrentHumidity !== void 0)
33
+ this.minSafeCurrentHumidity = data.minSafeCurrentHumidity;
26
34
  this.hvacMode = data.hvacMode;
27
35
  this.hvacState = data.hvacState;
28
36
  this.fanMode = data.fanMode;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../.generated/models/thermostat.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity.js\";\nimport { validateThermostat as validate } from \"../validate.js\";\nimport {\n thermostatSchema,\n type ThermostatSchema,\n} from \"../schemas/thermostat.js\";\n\n/**\n * Data type for Thermostat constructor - exported for backwards compatibility\n */\nexport type ThermostatData = ThermostatSchema;\n\n/**\n * Any smart thermostat\n */\nexport interface Thermostat extends ThermostatSchema {}\nexport class Thermostat extends Entity {\n declare schema: typeof thermostatSchema;\n declare validator: typeof validate;\n\n constructor(data: ThermostatSchema) {\n super(data);\n this.id = data.id;\n if (data.name !== undefined) this.name = data.name;\n this.type = data.type;\n this.driver = data.driver;\n if (data.offline !== undefined) this.offline = data.offline;\n if (data.supportedNotifications !== undefined)\n this.supportedNotifications = data.supportedNotifications;\n if (data.notification !== undefined) this.notification = data.notification;\n if (data.currentTemperature !== undefined)\n this.currentTemperature = data.currentTemperature;\n if (data.currentHumidity !== undefined)\n this.currentHumidity = data.currentHumidity;\n this.hvacMode = data.hvacMode;\n this.hvacState = data.hvacState;\n this.fanMode = data.fanMode;\n this.fanState = data.fanState;\n this.temperatureScale = data.temperatureScale;\n if (data.humidityScale !== undefined)\n this.humidityScale = data.humidityScale;\n this.supportedHvacModes = data.supportedHvacModes;\n this.supportedFanModes = data.supportedFanModes;\n this.setpoints = data.setpoints;\n if (data.minAutoDelta !== undefined) this.minAutoDelta = data.minAutoDelta;\n if (data.cycleRate !== undefined) this.cycleRate = data.cycleRate;\n if (data.co2 !== undefined) this.co2 = data.co2;\n if (data.voc !== undefined) this.voc = data.voc;\n if (data.batteryLevel !== undefined) this.batteryLevel = data.batteryLevel;\n if (data.systemId !== undefined) this.systemId = data.systemId;\n if (data.watts !== undefined) this.watts = data.watts;\n if (data.icon !== undefined) this.icon = data.icon;\n if (data.manufacturer !== undefined) this.manufacturer = data.manufacturer;\n if (data.modelNumber !== undefined) this.modelNumber = data.modelNumber;\n if (data.serialNumber !== undefined) this.serialNumber = data.serialNumber;\n if (data.firmwareVersion !== undefined)\n this.firmwareVersion = data.firmwareVersion;\n if (data.uiEnabled !== undefined) this.uiEnabled = data.uiEnabled;\n }\n}\n\nObject.defineProperty(Thermostat.prototype, \"schema\", {\n value: thermostatSchema,\n});\n\nObject.defineProperty(Thermostat.prototype, \"validator\", {\n get: function () {\n return validate;\n },\n});\n"],"mappings":";;AAEA,SAAS,cAAc;AACvB,SAAS,sBAAsB,gBAAgB;AAC/C;AAAA,EACE;AAAA,OAEK;AAWA,MAAM,mBAAmB,OAAO;AAAA,EAlBvC,OAkBuC;AAAA;AAAA;AAAA,EAIrC,YAAY,MAAwB;AAClC,UAAM,IAAI;AACV,SAAK,KAAK,KAAK;AACf,QAAI,KAAK,SAAS,OAAW,MAAK,OAAO,KAAK;AAC9C,SAAK,OAAO,KAAK;AACjB,SAAK,SAAS,KAAK;AACnB,QAAI,KAAK,YAAY,OAAW,MAAK,UAAU,KAAK;AACpD,QAAI,KAAK,2BAA2B;AAClC,WAAK,yBAAyB,KAAK;AACrC,QAAI,KAAK,iBAAiB,OAAW,MAAK,eAAe,KAAK;AAC9D,QAAI,KAAK,uBAAuB;AAC9B,WAAK,qBAAqB,KAAK;AACjC,QAAI,KAAK,oBAAoB;AAC3B,WAAK,kBAAkB,KAAK;AAC9B,SAAK,WAAW,KAAK;AACrB,SAAK,YAAY,KAAK;AACtB,SAAK,UAAU,KAAK;AACpB,SAAK,WAAW,KAAK;AACrB,SAAK,mBAAmB,KAAK;AAC7B,QAAI,KAAK,kBAAkB;AACzB,WAAK,gBAAgB,KAAK;AAC5B,SAAK,qBAAqB,KAAK;AAC/B,SAAK,oBAAoB,KAAK;AAC9B,SAAK,YAAY,KAAK;AACtB,QAAI,KAAK,iBAAiB,OAAW,MAAK,eAAe,KAAK;AAC9D,QAAI,KAAK,cAAc,OAAW,MAAK,YAAY,KAAK;AACxD,QAAI,KAAK,QAAQ,OAAW,MAAK,MAAM,KAAK;AAC5C,QAAI,KAAK,QAAQ,OAAW,MAAK,MAAM,KAAK;AAC5C,QAAI,KAAK,iBAAiB,OAAW,MAAK,eAAe,KAAK;AAC9D,QAAI,KAAK,aAAa,OAAW,MAAK,WAAW,KAAK;AACtD,QAAI,KAAK,UAAU,OAAW,MAAK,QAAQ,KAAK;AAChD,QAAI,KAAK,SAAS,OAAW,MAAK,OAAO,KAAK;AAC9C,QAAI,KAAK,iBAAiB,OAAW,MAAK,eAAe,KAAK;AAC9D,QAAI,KAAK,gBAAgB,OAAW,MAAK,cAAc,KAAK;AAC5D,QAAI,KAAK,iBAAiB,OAAW,MAAK,eAAe,KAAK;AAC9D,QAAI,KAAK,oBAAoB;AAC3B,WAAK,kBAAkB,KAAK;AAC9B,QAAI,KAAK,cAAc,OAAW,MAAK,YAAY,KAAK;AAAA,EAC1D;AACF;AAEA,OAAO,eAAe,WAAW,WAAW,UAAU;AAAA,EACpD,OAAO;AACT,CAAC;AAED,OAAO,eAAe,WAAW,WAAW,aAAa;AAAA,EACvD,KAAK,kCAAY;AACf,WAAO;AAAA,EACT,GAFK;AAGP,CAAC;","names":[]}
1
+ {"version":3,"sources":["../../../.generated/models/thermostat.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity.js\";\nimport { validateThermostat as validate } from \"../validate.js\";\nimport {\n thermostatSchema,\n type ThermostatSchema,\n} from \"../schemas/thermostat.js\";\n\n/**\n * Data type for Thermostat constructor - exported for backwards compatibility\n */\nexport type ThermostatData = ThermostatSchema;\n\n/**\n * Any smart thermostat\n */\nexport interface Thermostat extends ThermostatSchema {}\nexport class Thermostat extends Entity {\n declare schema: typeof thermostatSchema;\n declare validator: typeof validate;\n\n constructor(data: ThermostatSchema) {\n super(data);\n this.id = data.id;\n if (data.name !== undefined) this.name = data.name;\n this.type = data.type;\n this.driver = data.driver;\n if (data.offline !== undefined) this.offline = data.offline;\n if (data.supportedNotifications !== undefined)\n this.supportedNotifications = data.supportedNotifications;\n if (data.notification !== undefined) this.notification = data.notification;\n if (data.currentTemperature !== undefined)\n this.currentTemperature = data.currentTemperature;\n if (data.maxSafeCurrentTemp !== undefined)\n this.maxSafeCurrentTemp = data.maxSafeCurrentTemp;\n if (data.minSafeCurrentTemp !== undefined)\n this.minSafeCurrentTemp = data.minSafeCurrentTemp;\n if (data.currentHumidity !== undefined)\n this.currentHumidity = data.currentHumidity;\n if (data.maxSafeCurrentHumidity !== undefined)\n this.maxSafeCurrentHumidity = data.maxSafeCurrentHumidity;\n if (data.minSafeCurrentHumidity !== undefined)\n this.minSafeCurrentHumidity = data.minSafeCurrentHumidity;\n this.hvacMode = data.hvacMode;\n this.hvacState = data.hvacState;\n this.fanMode = data.fanMode;\n this.fanState = data.fanState;\n this.temperatureScale = data.temperatureScale;\n if (data.humidityScale !== undefined)\n this.humidityScale = data.humidityScale;\n this.supportedHvacModes = data.supportedHvacModes;\n this.supportedFanModes = data.supportedFanModes;\n this.setpoints = data.setpoints;\n if (data.minAutoDelta !== undefined) this.minAutoDelta = data.minAutoDelta;\n if (data.cycleRate !== undefined) this.cycleRate = data.cycleRate;\n if (data.co2 !== undefined) this.co2 = data.co2;\n if (data.voc !== undefined) this.voc = data.voc;\n if (data.batteryLevel !== undefined) this.batteryLevel = data.batteryLevel;\n if (data.systemId !== undefined) this.systemId = data.systemId;\n if (data.watts !== undefined) this.watts = data.watts;\n if (data.icon !== undefined) this.icon = data.icon;\n if (data.manufacturer !== undefined) this.manufacturer = data.manufacturer;\n if (data.modelNumber !== undefined) this.modelNumber = data.modelNumber;\n if (data.serialNumber !== undefined) this.serialNumber = data.serialNumber;\n if (data.firmwareVersion !== undefined)\n this.firmwareVersion = data.firmwareVersion;\n if (data.uiEnabled !== undefined) this.uiEnabled = data.uiEnabled;\n }\n}\n\nObject.defineProperty(Thermostat.prototype, \"schema\", {\n value: thermostatSchema,\n});\n\nObject.defineProperty(Thermostat.prototype, \"validator\", {\n get: function () {\n return validate;\n },\n});\n"],"mappings":";;AAEA,SAAS,cAAc;AACvB,SAAS,sBAAsB,gBAAgB;AAC/C;AAAA,EACE;AAAA,OAEK;AAWA,MAAM,mBAAmB,OAAO;AAAA,EAlBvC,OAkBuC;AAAA;AAAA;AAAA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AQ,KAAK;AAChD,QAAI,KAAK,SAAS,OAAW,MAAK,OAAO,KAAK;AAC9C,QAAI,KAAK,iBAAiB,OAAW,MAAK,eAAe,KAAK;AAC9D,QAAI,KAAK,gBAAgB,OAAW,MAAK,cAAc,KAAK;AAC5D,QAAI,KAAK,iBAAiB,OAAW,MAAK,eAAe,KAAK;AAC9D,QAAI,KAAK,oBAAoB;AAC3B,WAAK,kBAAkB,KAAK;AAC9B,QAAI,KAAK,cAAc,OAAW,MAAK,YAAY,KAAK;AAAA,EAC1D;AACF;AAEA,OAAO,eAAe,WAAW,WAAW,UAAU;AAAA,EACpD,OAAO;AACT,CAAC;AAED,OAAO,eAAe,WAAW,WAAW,aAAa;AAAA,EACvD,KAAK,kCAAY;AACf,WAAO;AAAA,EACT,GAFK;AAGP,CAAC;","names":[]}
@@ -36,10 +36,26 @@ declare const thermostatSchema: {
36
36
  readonly currentTemperature: {
37
37
  readonly type: "number";
38
38
  };
39
+ readonly maxSafeCurrentTemp: {
40
+ readonly type: readonly ["number", "null"];
41
+ readonly description: "Maximum safe temperature";
42
+ };
43
+ readonly minSafeCurrentTemp: {
44
+ readonly type: readonly ["number", "null"];
45
+ readonly description: "Minimum safe temperature";
46
+ };
39
47
  readonly currentHumidity: {
40
48
  readonly type: "number";
41
49
  readonly minimum: 0;
42
50
  };
51
+ readonly maxSafeCurrentHumidity: {
52
+ readonly type: readonly ["number", "null"];
53
+ readonly description: "Maximum safe humidity";
54
+ };
55
+ readonly minSafeCurrentHumidity: {
56
+ readonly type: readonly ["number", "null"];
57
+ readonly description: "Minimum safe humidity";
58
+ };
43
59
  readonly hvacMode: {
44
60
  readonly type: "string";
45
61
  readonly enum: readonly ["cool", "heat", "auto", "off"];
@@ -45,10 +45,26 @@ const thermostatSchema = {
45
45
  currentTemperature: {
46
46
  type: "number"
47
47
  },
48
+ maxSafeCurrentTemp: {
49
+ type: ["number", "null"],
50
+ description: "Maximum safe temperature"
51
+ },
52
+ minSafeCurrentTemp: {
53
+ type: ["number", "null"],
54
+ description: "Minimum safe temperature"
55
+ },
48
56
  currentHumidity: {
49
57
  type: "number",
50
58
  minimum: 0
51
59
  },
60
+ maxSafeCurrentHumidity: {
61
+ type: ["number", "null"],
62
+ description: "Maximum safe humidity"
63
+ },
64
+ minSafeCurrentHumidity: {
65
+ type: ["number", "null"],
66
+ description: "Minimum safe humidity"
67
+ },
52
68
  hvacMode: {
53
69
  type: "string",
54
70
  enum: ["cool", "heat", "auto", "off"]
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../.generated/schemas/thermostat.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\n\nexport const thermostatSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"thermostat.json\",\n title: \"Thermostat\",\n description: \"Any smart thermostat\",\n type: \"object\",\n required: [\n \"id\",\n \"type\",\n \"hvacMode\",\n \"fanMode\",\n \"hvacState\",\n \"fanState\",\n \"setpoints\",\n \"temperatureScale\",\n \"supportedHvacModes\",\n \"supportedFanModes\",\n \"driver\",\n ],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n name: {\n $ref: \"definitions.json#/definitions/name\",\n },\n type: {\n type: \"string\",\n enum: [\"thermostat\"],\n default: \"thermostat\",\n },\n driver: {\n $ref: \"definitions.json#/definitions/driver\",\n },\n offline: {\n type: \"boolean\",\n },\n supportedNotifications: {\n $ref: \"definitions.json#/definitions/supportedNotifications\",\n },\n notification: {\n $ref: \"definitions.json#/definitions/notification\",\n },\n currentTemperature: {\n type: \"number\",\n },\n currentHumidity: {\n type: \"number\",\n minimum: 0,\n },\n hvacMode: {\n type: \"string\",\n enum: [\"cool\", \"heat\", \"auto\", \"off\"],\n },\n hvacState: {\n type: [\"string\", \"null\"],\n enum: [\"cooling\", \"heating\", \"off\", null],\n },\n fanMode: {\n type: \"string\",\n enum: [\"auto\", \"low\", \"medium\", \"high\", \"off\", \"on\"],\n },\n fanState: {\n type: [\"string\", \"null\"],\n enum: [\"off\", \"low\", \"medium\", \"high\", \"on\", null],\n },\n temperatureScale: {\n type: \"string\",\n enum: [\"celsius\", \"fahrenheit\"],\n default: \"fahrenheit\",\n },\n humidityScale: {\n type: [\"string\", \"null\"],\n enum: [\"absolute\", \"relative\", null],\n },\n supportedHvacModes: {\n type: \"array\",\n uniqueItems: true,\n minItems: 2,\n items: {\n type: \"string\",\n enum: [\"cool\", \"heat\", \"auto\", \"off\"],\n },\n },\n supportedFanModes: {\n type: \"array\",\n uniqueItems: true,\n items: {\n type: \"string\",\n enum: [\"auto\", \"low\", \"medium\", \"high\", \"off\", \"on\"],\n },\n },\n setpoints: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n cool: {\n $ref: \"#/definitions/setpoint\",\n },\n heat: {\n $ref: \"#/definitions/setpoint\",\n },\n auto: {\n $ref: \"#/definitions/setpoint\",\n },\n },\n },\n minAutoDelta: {\n type: \"number\",\n default: 3,\n },\n cycleRate: {\n type: \"number\",\n },\n co2: {\n type: \"number\",\n description: \"Parts per million (ppm)\",\n },\n voc: {\n type: \"number\",\n description: \"Parts per billion (ppb)\",\n },\n batteryLevel: {\n $ref: \"definitions.json#/definitions/batteryLevel\",\n },\n systemId: {\n $ref: \"definitions.json#/definitions/systemId\",\n },\n watts: {\n $ref: \"definitions.json#/definitions/watts\",\n },\n icon: {\n type: \"string\",\n },\n manufacturer: {\n type: \"string\",\n },\n modelNumber: {\n type: \"string\",\n },\n serialNumber: {\n type: \"string\",\n },\n firmwareVersion: {\n type: \"string\",\n },\n uiEnabled: {\n type: \"boolean\",\n description: \"Local thermostat controls active or not\",\n default: true,\n },\n },\n definitions: {\n setpoint: {\n type: \"object\",\n additionalProperties: false,\n required: [\"value\", \"min\", \"max\"],\n properties: {\n value: {\n type: \"number\",\n minimum: 0,\n maximum: 99,\n },\n min: {\n type: [\"number\", \"null\"],\n minimum: 0,\n maximum: 99,\n },\n max: {\n type: [\"number\", \"null\"],\n minimum: 0,\n maximum: 99,\n },\n },\n },\n },\n} as const;\n\nexport type ThermostatSchema = FromSchema<\n typeof thermostatSchema,\n {\n references: [typeof defs];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n"],"mappings":"AAGO,MAAM,mBAAmB;AAAA,EAC9B,SAAS;AAAA,EACT,KAAK;AAAA,EACL,OAAO;AAAA,EACP,aAAa;AAAA,EACb,MAAM;AAAA,EACN,UAAU;AAAA,IACR;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,sBAAsB;AAAA,EACtB,YAAY;AAAA,IACV,IAAI;AAAA,MACF,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,MAAM,CAAC,YAAY;AAAA,MACnB,SAAS;AAAA,IACX;AAAA,IACA,QAAQ;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA,SAAS;AAAA,MACP,MAAM;AAAA,IACR;AAAA,IACA,wBAAwB;AAAA,MACtB,MAAM;AAAA,IACR;AAAA,IACA,cAAc;AAAA,MACZ,MAAM;AAAA,IACR;AAAA,IACA,oBAAoB;AAAA,MAClB,MAAM;AAAA,IACR;AAAA,IACA,iBAAiB;AAAA,MACf,MAAM;AAAA,MACN,SAAS;AAAA,IACX;AAAA,IACA,UAAU;AAAA,MACR,MAAM;AAAA,MACN,MAAM,CAAC,QAAQ,QAAQ,QAAQ,KAAK;AAAA,IACtC;AAAA,IACA,WAAW;AAAA,MACT,MAAM,CAAC,UAAU,MAAM;AAAA,MACvB,MAAM,CAAC,WAAW,WAAW,OAAO,IAAI;AAAA,IAC1C;AAAA,IACA,SAAS;AAAA,MACP,MAAM;AAAA,MACN,MAAM,CAAC,QAAQ,O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AAA,IACA,UAAU;AAAA,MACR,MAAM;AAAA,IACR;AAAA,IACA,OAAO;AAAA,MACL,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,IACR;AAAA,IACA,cAAc;AAAA,MACZ,MAAM;AAAA,IACR;AAAA,IACA,aAAa;AAAA,MACX,MAAM;AAAA,IACR;AAAA,IACA,cAAc;AAAA,MACZ,MAAM;AAAA,IACR;AAAA,IACA,iBAAiB;AAAA,MACf,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,MACN,aAAa;AAAA,MACb,SAAS;AAAA,IACX;AAAA,EACF;AAAA,EACA,aAAa;AAAA,IACX,UAAU;AAAA,MACR,MAAM;AAAA,MACN,sBAAsB;AAAA,MACtB,UAAU,CAAC,SAAS,OAAO,KAAK;AAAA,MAChC,YAAY;AAAA,QACV,OAAO;AAAA,UACL,MAAM;AAAA,UACN,SAAS;AAAA,UACT,SAAS;AAAA,QACX;AAAA,QACA,KAAK;AAAA,UACH,MAAM,CAAC,UAAU,MAAM;AAAA,UACvB,SAAS;AAAA,UACT,SAAS;AAAA,QACX;AAAA,QACA,KAAK;AAAA,UACH,MAAM,CAAC,UAAU,MAAM;AAAA,UACvB,SAAS;AAAA,UACT,SAAS;AAAA,QACX;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../.generated/schemas/thermostat.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\n\nexport const thermostatSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"thermostat.json\",\n title: \"Thermostat\",\n description: \"Any smart thermostat\",\n type: \"object\",\n required: [\n \"id\",\n \"type\",\n \"hvacMode\",\n \"fanMode\",\n \"hvacState\",\n \"fanState\",\n \"setpoints\",\n \"temperatureScale\",\n \"supportedHvacModes\",\n \"supportedFanModes\",\n \"driver\",\n ],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n name: {\n $ref: \"definitions.json#/definitions/name\",\n },\n type: {\n type: \"string\",\n enum: [\"thermostat\"],\n default: \"thermostat\",\n },\n driver: {\n $ref: \"definitions.json#/definitions/driver\",\n },\n offline: {\n type: \"boolean\",\n },\n supportedNotifications: {\n $ref: \"definitions.json#/definitions/supportedNotifications\",\n },\n notification: {\n $ref: \"definitions.json#/definitions/notification\",\n },\n currentTemperature: {\n type: \"number\",\n },\n maxSafeCurrentTemp: {\n type: [\"number\", \"null\"],\n description: \"Maximum safe temperature\",\n },\n minSafeCurrentTemp: {\n type: [\"number\", \"null\"],\n description: \"Minimum safe temperature\",\n },\n currentHumidity: {\n type: \"number\",\n minimum: 0,\n },\n maxSafeCurrentHumidity: {\n type: [\"number\", \"null\"],\n description: \"Maximum safe humidity\",\n },\n minSafeCurrentHumidity: {\n type: [\"number\", \"null\"],\n description: \"Minimum safe humidity\",\n },\n hvacMode: {\n type: \"string\",\n enum: [\"cool\", \"heat\", \"auto\", \"off\"],\n },\n hvacState: {\n type: [\"string\", \"null\"],\n enum: [\"cooling\", \"heating\", \"off\", null],\n },\n fanMode: {\n type: \"string\",\n enum: [\"auto\", \"low\", \"medium\", \"high\", \"off\", \"on\"],\n },\n fanState: {\n type: [\"string\", \"null\"],\n enum: [\"off\", \"low\", \"medium\", \"high\", \"on\", null],\n },\n temperatureScale: {\n type: \"string\",\n enum: [\"celsius\", \"fahrenheit\"],\n default: \"fahrenheit\",\n },\n humidityScale: {\n type: [\"string\", \"null\"],\n enum: [\"absolute\", \"relative\", null],\n },\n supportedHvacModes: {\n type: \"array\",\n uniqueItems: true,\n minItems: 2,\n items: {\n type: \"string\",\n enum: [\"cool\", \"heat\", \"auto\", \"off\"],\n },\n },\n supportedFanModes: {\n type: \"array\",\n uniqueItems: true,\n items: {\n type: \"string\",\n enum: [\"auto\", \"low\", \"medium\", \"high\", \"off\", \"on\"],\n },\n },\n setpoints: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n cool: {\n $ref: \"#/definitions/setpoint\",\n },\n heat: {\n $ref: \"#/definitions/setpoint\",\n },\n auto: {\n $ref: \"#/definitions/setpoint\",\n },\n },\n },\n minAutoDelta: {\n type: \"number\",\n default: 3,\n },\n cycleRate: {\n type: \"number\",\n },\n co2: {\n type: \"number\",\n description: \"Parts per million (ppm)\",\n },\n voc: {\n type: \"number\",\n description: \"Parts per billion (ppb)\",\n },\n batteryLevel: {\n $ref: \"definitions.json#/definitions/batteryLevel\",\n },\n systemId: {\n $ref: \"definitions.json#/definitions/systemId\",\n },\n watts: {\n $ref: \"definitions.json#/definitions/watts\",\n },\n icon: {\n type: \"string\",\n },\n manufacturer: {\n type: \"string\",\n },\n modelNumber: {\n type: \"string\",\n },\n serialNumber: {\n type: \"string\",\n },\n firmwareVersion: {\n type: \"string\",\n },\n uiEnabled: {\n type: \"boolean\",\n description: \"Local thermostat controls active or not\",\n default: true,\n },\n },\n definitions: {\n setpoint: {\n type: \"object\",\n additionalProperties: false,\n required: [\"value\", \"min\", \"max\"],\n properties: {\n value: {\n type: \"number\",\n minimum: 0,\n maximum: 99,\n },\n min: {\n type: [\"number\", \"null\"],\n minimum: 0,\n maximum: 99,\n },\n max: {\n type: [\"number\", \"null\"],\n minimum: 0,\n maximum: 99,\n },\n },\n },\n },\n} as const;\n\nexport type ThermostatSchema = FromSchema<\n typeof thermostatSchema,\n {\n references: [typeof defs];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n"],"mappings":"AAGO,MAAM,mBAAmB;AAAA,EAC9B,SAAS;AAAA,EACT,KAAK;AAAA,EACL,OAAO;AAAA,EACP,aAAa;AAAA,EACb,MAAM;AAAA,EACN,UAAU;AAAA,IACR;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAC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M;AAAA,MACJ,MAAM;AAAA,IACR;AAAA,IACA,cAAc;AAAA,MACZ,MAAM;AAAA,IACR;AAAA,IACA,aAAa;AAAA,MACX,MAAM;AAAA,IACR;AAAA,IACA,cAAc;AAAA,MACZ,MAAM;AAAA,IACR;AAAA,IACA,iBAAiB;AAAA,MACf,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,MACN,aAAa;AAAA,MACb,SAAS;AAAA,IACX;AAAA,EACF;AAAA,EACA,aAAa;AAAA,IACX,UAAU;AAAA,MACR,MAAM;AAAA,MACN,sBAAsB;AAAA,MACtB,UAAU,CAAC,SAAS,OAAO,KAAK;AAAA,MAChC,YAAY;AAAA,QACV,OAAO;AAAA,UACL,MAAM;AAAA,UACN,SAAS;AAAA,UACT,SAAS;AAAA,QACX;AAAA,QACA,KAAK;AAAA,UACH,MAAM,CAAC,UAAU,MAAM;AAAA,UACvB,SAAS;AAAA,UACT,SAAS;AAAA,QACX;AAAA,QACA,KAAK;AAAA,UACH,MAAM,CAAC,UAAU,MAAM;AAAA,UACvB,SAAS;AAAA,UACT,SAAS;AAAA,QACX;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kohost/api-client",
3
- "version": "4.17.1",
3
+ "version": "4.17.2",
4
4
  "description": "API client, models, schemas, commands, and events for Kohost applications",
5
5
  "author": "Ian Rogers",
6
6
  "readme": "README.md",