@kohost/api-client 3.3.18 → 3.3.20

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.
@@ -59,7 +59,8 @@
59
59
  "additionalProperties": false,
60
60
  "default": {
61
61
  "active": false,
62
- "allowed": false
62
+ "allowed": false,
63
+ "previousState": null
63
64
  },
64
65
  "properties": {
65
66
  "active": {
@@ -73,6 +74,25 @@
73
74
  "allowed": {
74
75
  "type": "boolean",
75
76
  "default": false
77
+ },
78
+ "previousState": {
79
+ "type": ["object", "null"],
80
+ "properties": {
81
+ "thermostats": {
82
+ "type": "object",
83
+ "patternProperties": {
84
+ ".*": {
85
+ "type": "object",
86
+ "properties": {
87
+ "setpoints": {
88
+ "$ref": "thermostat.json#/properties/setpoints"
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ },
95
+ "additionalProperties": false
76
96
  }
77
97
  }
78
98
  },
@@ -32,8 +32,7 @@
32
32
  },
33
33
  "currentHumidity": {
34
34
  "type": "number",
35
- "minimum": 0,
36
- "maximum": 99
35
+ "minimum": 0
37
36
  },
38
37
  "hvacMode": {
39
38
  "type": "string",
@@ -8950,8 +8950,7 @@ var require_thermostat = __commonJS({
8950
8950
  },
8951
8951
  currentHumidity: {
8952
8952
  type: "number",
8953
- minimum: 0,
8954
- maximum: 99
8953
+ minimum: 0
8955
8954
  },
8956
8955
  hvacMode: {
8957
8956
  type: "string",
@@ -11324,7 +11323,8 @@ var require_space = __commonJS({
11324
11323
  additionalProperties: false,
11325
11324
  default: {
11326
11325
  active: false,
11327
- allowed: false
11326
+ allowed: false,
11327
+ previousState: null
11328
11328
  },
11329
11329
  properties: {
11330
11330
  active: {
@@ -11338,6 +11338,25 @@ var require_space = __commonJS({
11338
11338
  allowed: {
11339
11339
  type: "boolean",
11340
11340
  default: false
11341
+ },
11342
+ previousState: {
11343
+ type: ["object", "null"],
11344
+ properties: {
11345
+ thermostats: {
11346
+ type: "object",
11347
+ patternProperties: {
11348
+ ".*": {
11349
+ type: "object",
11350
+ properties: {
11351
+ setpoints: {
11352
+ $ref: "thermostat.json#/properties/setpoints"
11353
+ }
11354
+ }
11355
+ }
11356
+ }
11357
+ }
11358
+ },
11359
+ additionalProperties: false
11341
11360
  }
11342
11361
  }
11343
11362
  },