@seamapi/types 1.223.0 → 1.224.0

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/connect.cjs CHANGED
@@ -160,15 +160,13 @@ var climate_setting_schedule = zod.z.object({
160
160
  }).merge(climate_setting.partial());
161
161
 
162
162
  // src/lib/seam/connect/models/devices/capability-properties/thermostat.ts
163
- var base_thermostat_capability_properties = zod.z.object({
163
+ var thermostat_capability_properties = zod.z.object({
164
164
  temperature_fahrenheit: zod.z.number(),
165
165
  temperature_celsius: zod.z.number(),
166
166
  relative_humidity: zod.z.number().min(0).max(1),
167
167
  can_enable_automatic_heating: zod.z.boolean(),
168
168
  can_enable_automatic_cooling: zod.z.boolean(),
169
169
  available_hvac_mode_settings: zod.z.array(hvac_mode_setting),
170
- is_heating_available: zod.z.literal(false),
171
- is_cooling_available: zod.z.literal(false),
172
170
  is_heating: zod.z.boolean(),
173
171
  is_cooling: zod.z.boolean(),
174
172
  is_fan_running: zod.z.boolean(),
@@ -181,41 +179,20 @@ var base_thermostat_capability_properties = zod.z.object({
181
179
  * can be derived from `default_climate_setting`, or `active_climate_setting_schedule` if one is active
182
180
  */
183
181
  current_climate_setting: climate_setting,
184
- default_climate_setting: climate_setting.optional(),
182
+ default_climate_setting: climate_setting,
185
183
  is_climate_setting_schedule_active: zod.z.boolean(),
186
- active_climate_setting_schedule: climate_setting_schedule.optional()
187
- });
188
- var cooling_thermostat_capability_properties = base_thermostat_capability_properties.merge(
189
- zod.z.object({
190
- min_cooling_set_point_celsius: zod.z.number(),
191
- min_cooling_set_point_fahrenheit: zod.z.number(),
192
- max_cooling_set_point_celsius: zod.z.number(),
193
- max_cooling_set_point_fahrenheit: zod.z.number(),
194
- is_cooling_available: zod.z.literal(true)
195
- })
196
- );
197
- var heating_thermostat_capability_properties = base_thermostat_capability_properties.merge(
198
- zod.z.object({
199
- min_heating_set_point_celsius: zod.z.number(),
200
- min_heating_set_point_fahrenheit: zod.z.number(),
201
- max_heating_set_point_celsius: zod.z.number(),
202
- max_heating_set_point_fahrenheit: zod.z.number(),
203
- is_heating_available: zod.z.literal(true)
204
- })
205
- );
206
- var heating_cooling_thermostat_capability_properties = cooling_thermostat_capability_properties.merge(heating_thermostat_capability_properties).merge(
207
- zod.z.object({
208
- is_cooling_available: zod.z.literal(true),
209
- is_heating_available: zod.z.literal(true),
210
- min_heating_cooling_delta_celsius: zod.z.number(),
211
- min_heating_cooling_delta_fahrenheit: zod.z.number()
212
- })
213
- );
214
- var thermostat_capability_properties = zod.z.union([
215
- heating_cooling_thermostat_capability_properties.partial(),
216
- heating_thermostat_capability_properties.partial(),
217
- cooling_thermostat_capability_properties.partial()
218
- ]);
184
+ active_climate_setting_schedule: climate_setting_schedule,
185
+ min_cooling_set_point_celsius: zod.z.number(),
186
+ min_cooling_set_point_fahrenheit: zod.z.number(),
187
+ max_cooling_set_point_celsius: zod.z.number(),
188
+ max_cooling_set_point_fahrenheit: zod.z.number(),
189
+ min_heating_set_point_celsius: zod.z.number(),
190
+ min_heating_set_point_fahrenheit: zod.z.number(),
191
+ max_heating_set_point_celsius: zod.z.number(),
192
+ max_heating_set_point_fahrenheit: zod.z.number(),
193
+ min_heating_cooling_delta_celsius: zod.z.number(),
194
+ min_heating_cooling_delta_fahrenheit: zod.z.number()
195
+ }).partial();
219
196
 
220
197
  // src/lib/seam/connect/models/devices/capability-properties/index.ts
221
198
  var capability_properties = zod.z.intersection(
@@ -5085,596 +5062,198 @@ var openapi_default = {
5085
5062
  type: "object"
5086
5063
  },
5087
5064
  {
5088
- oneOf: [
5089
- {
5065
+ properties: {
5066
+ active_climate_setting_schedule: {
5090
5067
  properties: {
5091
- active_climate_setting_schedule: {
5092
- properties: {
5093
- automatic_cooling_enabled: { type: "boolean" },
5094
- automatic_heating_enabled: { type: "boolean" },
5095
- climate_setting_schedule_id: {
5096
- format: "uuid",
5097
- type: "string"
5098
- },
5099
- cooling_set_point_celsius: {
5100
- format: "float",
5101
- type: "number"
5102
- },
5103
- cooling_set_point_fahrenheit: {
5104
- format: "float",
5105
- type: "number"
5106
- },
5107
- created_at: {
5108
- format: "date-time",
5109
- type: "string"
5110
- },
5111
- device_id: { format: "uuid", type: "string" },
5112
- errors: {
5113
- description: 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.'
5114
- },
5115
- heating_set_point_celsius: {
5116
- format: "float",
5117
- type: "number"
5118
- },
5119
- heating_set_point_fahrenheit: {
5120
- format: "float",
5121
- type: "number"
5122
- },
5123
- hvac_mode_setting: {
5124
- enum: ["off", "heat", "cool", "heat_cool"],
5125
- type: "string"
5126
- },
5127
- manual_override_allowed: { type: "boolean" },
5128
- name: { type: "string" },
5129
- schedule_ends_at: { type: "string" },
5130
- schedule_starts_at: { type: "string" },
5131
- schedule_type: {
5132
- enum: ["time_bound"],
5133
- type: "string"
5134
- }
5135
- },
5136
- required: [
5137
- "climate_setting_schedule_id",
5138
- "schedule_type",
5139
- "device_id",
5140
- "schedule_starts_at",
5141
- "schedule_ends_at",
5142
- "created_at"
5143
- ],
5144
- type: "object"
5145
- },
5146
- available_hvac_mode_settings: {
5147
- items: {
5148
- enum: ["off", "heat", "cool", "heat_cool"],
5149
- type: "string"
5150
- },
5151
- type: "array"
5152
- },
5153
- can_enable_automatic_cooling: { type: "boolean" },
5154
- can_enable_automatic_heating: { type: "boolean" },
5155
- current_climate_setting: {
5156
- properties: {
5157
- automatic_cooling_enabled: { type: "boolean" },
5158
- automatic_heating_enabled: { type: "boolean" },
5159
- cooling_set_point_celsius: {
5160
- format: "float",
5161
- type: "number"
5162
- },
5163
- cooling_set_point_fahrenheit: {
5164
- format: "float",
5165
- type: "number"
5166
- },
5167
- heating_set_point_celsius: {
5168
- format: "float",
5169
- type: "number"
5170
- },
5171
- heating_set_point_fahrenheit: {
5172
- format: "float",
5173
- type: "number"
5174
- },
5175
- hvac_mode_setting: {
5176
- enum: ["off", "heat", "cool", "heat_cool"],
5177
- type: "string"
5178
- },
5179
- manual_override_allowed: { type: "boolean" }
5180
- },
5181
- required: [
5182
- "automatic_heating_enabled",
5183
- "automatic_cooling_enabled",
5184
- "hvac_mode_setting",
5185
- "manual_override_allowed"
5186
- ],
5187
- type: "object"
5188
- },
5189
- default_climate_setting: {
5190
- properties: {
5191
- automatic_cooling_enabled: { type: "boolean" },
5192
- automatic_heating_enabled: { type: "boolean" },
5193
- cooling_set_point_celsius: {
5194
- format: "float",
5195
- type: "number"
5196
- },
5197
- cooling_set_point_fahrenheit: {
5198
- format: "float",
5199
- type: "number"
5200
- },
5201
- heating_set_point_celsius: {
5202
- format: "float",
5203
- type: "number"
5204
- },
5205
- heating_set_point_fahrenheit: {
5206
- format: "float",
5207
- type: "number"
5208
- },
5209
- hvac_mode_setting: {
5210
- enum: ["off", "heat", "cool", "heat_cool"],
5211
- type: "string"
5212
- },
5213
- manual_override_allowed: { type: "boolean" }
5214
- },
5215
- required: [
5216
- "automatic_heating_enabled",
5217
- "automatic_cooling_enabled",
5218
- "hvac_mode_setting",
5219
- "manual_override_allowed"
5220
- ],
5221
- type: "object"
5222
- },
5223
- fan_mode_setting: {
5224
- enum: ["auto", "on"],
5068
+ automatic_cooling_enabled: { type: "boolean" },
5069
+ automatic_heating_enabled: { type: "boolean" },
5070
+ climate_setting_schedule_id: {
5071
+ format: "uuid",
5225
5072
  type: "string"
5226
5073
  },
5227
- is_climate_setting_schedule_active: {
5228
- type: "boolean"
5229
- },
5230
- is_cooling: { type: "boolean" },
5231
- is_cooling_available: {
5232
- enum: [true],
5233
- type: "boolean"
5234
- },
5235
- is_fan_running: { type: "boolean" },
5236
- is_heating: { type: "boolean" },
5237
- is_heating_available: {
5238
- enum: [true],
5239
- type: "boolean"
5240
- },
5241
- is_temporary_manual_override_active: {
5242
- type: "boolean"
5243
- },
5244
- max_cooling_set_point_celsius: {
5074
+ cooling_set_point_celsius: {
5245
5075
  format: "float",
5246
5076
  type: "number"
5247
5077
  },
5248
- max_cooling_set_point_fahrenheit: {
5078
+ cooling_set_point_fahrenheit: {
5249
5079
  format: "float",
5250
5080
  type: "number"
5251
5081
  },
5252
- max_heating_set_point_celsius: {
5253
- format: "float",
5254
- type: "number"
5255
- },
5256
- max_heating_set_point_fahrenheit: {
5257
- format: "float",
5258
- type: "number"
5259
- },
5260
- min_cooling_set_point_celsius: {
5261
- format: "float",
5262
- type: "number"
5263
- },
5264
- min_cooling_set_point_fahrenheit: {
5265
- format: "float",
5266
- type: "number"
5082
+ created_at: { format: "date-time", type: "string" },
5083
+ device_id: { format: "uuid", type: "string" },
5084
+ errors: {
5085
+ description: 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.'
5267
5086
  },
5268
- min_heating_cooling_delta_celsius: {
5087
+ heating_set_point_celsius: {
5269
5088
  format: "float",
5270
5089
  type: "number"
5271
5090
  },
5272
- min_heating_cooling_delta_fahrenheit: {
5091
+ heating_set_point_fahrenheit: {
5273
5092
  format: "float",
5274
5093
  type: "number"
5275
5094
  },
5276
- min_heating_set_point_celsius: {
5277
- format: "float",
5278
- type: "number"
5279
- },
5280
- min_heating_set_point_fahrenheit: {
5281
- format: "float",
5282
- type: "number"
5283
- },
5284
- relative_humidity: {
5285
- format: "float",
5286
- maximum: 1,
5287
- minimum: 0,
5288
- type: "number"
5289
- },
5290
- temperature_celsius: {
5291
- format: "float",
5292
- type: "number"
5095
+ hvac_mode_setting: {
5096
+ enum: ["off", "heat", "cool", "heat_cool"],
5097
+ type: "string"
5293
5098
  },
5294
- temperature_fahrenheit: {
5295
- format: "float",
5296
- type: "number"
5099
+ manual_override_allowed: { type: "boolean" },
5100
+ name: { type: "string" },
5101
+ schedule_ends_at: { type: "string" },
5102
+ schedule_starts_at: { type: "string" },
5103
+ schedule_type: {
5104
+ enum: ["time_bound"],
5105
+ type: "string"
5297
5106
  }
5298
5107
  },
5108
+ required: [
5109
+ "climate_setting_schedule_id",
5110
+ "schedule_type",
5111
+ "device_id",
5112
+ "schedule_starts_at",
5113
+ "schedule_ends_at",
5114
+ "created_at"
5115
+ ],
5299
5116
  type: "object"
5300
5117
  },
5301
- {
5118
+ available_hvac_mode_settings: {
5119
+ items: {
5120
+ enum: ["off", "heat", "cool", "heat_cool"],
5121
+ type: "string"
5122
+ },
5123
+ type: "array"
5124
+ },
5125
+ can_enable_automatic_cooling: { type: "boolean" },
5126
+ can_enable_automatic_heating: { type: "boolean" },
5127
+ current_climate_setting: {
5302
5128
  properties: {
5303
- active_climate_setting_schedule: {
5304
- properties: {
5305
- automatic_cooling_enabled: { type: "boolean" },
5306
- automatic_heating_enabled: { type: "boolean" },
5307
- climate_setting_schedule_id: {
5308
- format: "uuid",
5309
- type: "string"
5310
- },
5311
- cooling_set_point_celsius: {
5312
- format: "float",
5313
- type: "number"
5314
- },
5315
- cooling_set_point_fahrenheit: {
5316
- format: "float",
5317
- type: "number"
5318
- },
5319
- created_at: {
5320
- format: "date-time",
5321
- type: "string"
5322
- },
5323
- device_id: { format: "uuid", type: "string" },
5324
- errors: {
5325
- description: 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.'
5326
- },
5327
- heating_set_point_celsius: {
5328
- format: "float",
5329
- type: "number"
5330
- },
5331
- heating_set_point_fahrenheit: {
5332
- format: "float",
5333
- type: "number"
5334
- },
5335
- hvac_mode_setting: {
5336
- enum: ["off", "heat", "cool", "heat_cool"],
5337
- type: "string"
5338
- },
5339
- manual_override_allowed: { type: "boolean" },
5340
- name: { type: "string" },
5341
- schedule_ends_at: { type: "string" },
5342
- schedule_starts_at: { type: "string" },
5343
- schedule_type: {
5344
- enum: ["time_bound"],
5345
- type: "string"
5346
- }
5347
- },
5348
- required: [
5349
- "climate_setting_schedule_id",
5350
- "schedule_type",
5351
- "device_id",
5352
- "schedule_starts_at",
5353
- "schedule_ends_at",
5354
- "created_at"
5355
- ],
5356
- type: "object"
5357
- },
5358
- available_hvac_mode_settings: {
5359
- items: {
5360
- enum: ["off", "heat", "cool", "heat_cool"],
5361
- type: "string"
5362
- },
5363
- type: "array"
5364
- },
5365
- can_enable_automatic_cooling: { type: "boolean" },
5366
- can_enable_automatic_heating: { type: "boolean" },
5367
- current_climate_setting: {
5368
- properties: {
5369
- automatic_cooling_enabled: { type: "boolean" },
5370
- automatic_heating_enabled: { type: "boolean" },
5371
- cooling_set_point_celsius: {
5372
- format: "float",
5373
- type: "number"
5374
- },
5375
- cooling_set_point_fahrenheit: {
5376
- format: "float",
5377
- type: "number"
5378
- },
5379
- heating_set_point_celsius: {
5380
- format: "float",
5381
- type: "number"
5382
- },
5383
- heating_set_point_fahrenheit: {
5384
- format: "float",
5385
- type: "number"
5386
- },
5387
- hvac_mode_setting: {
5388
- enum: ["off", "heat", "cool", "heat_cool"],
5389
- type: "string"
5390
- },
5391
- manual_override_allowed: { type: "boolean" }
5392
- },
5393
- required: [
5394
- "automatic_heating_enabled",
5395
- "automatic_cooling_enabled",
5396
- "hvac_mode_setting",
5397
- "manual_override_allowed"
5398
- ],
5399
- type: "object"
5400
- },
5401
- default_climate_setting: {
5402
- properties: {
5403
- automatic_cooling_enabled: { type: "boolean" },
5404
- automatic_heating_enabled: { type: "boolean" },
5405
- cooling_set_point_celsius: {
5406
- format: "float",
5407
- type: "number"
5408
- },
5409
- cooling_set_point_fahrenheit: {
5410
- format: "float",
5411
- type: "number"
5412
- },
5413
- heating_set_point_celsius: {
5414
- format: "float",
5415
- type: "number"
5416
- },
5417
- heating_set_point_fahrenheit: {
5418
- format: "float",
5419
- type: "number"
5420
- },
5421
- hvac_mode_setting: {
5422
- enum: ["off", "heat", "cool", "heat_cool"],
5423
- type: "string"
5424
- },
5425
- manual_override_allowed: { type: "boolean" }
5426
- },
5427
- required: [
5428
- "automatic_heating_enabled",
5429
- "automatic_cooling_enabled",
5430
- "hvac_mode_setting",
5431
- "manual_override_allowed"
5432
- ],
5433
- type: "object"
5434
- },
5435
- fan_mode_setting: {
5436
- enum: ["auto", "on"],
5437
- type: "string"
5438
- },
5439
- is_climate_setting_schedule_active: {
5440
- type: "boolean"
5441
- },
5442
- is_cooling: { type: "boolean" },
5443
- is_cooling_available: {
5444
- enum: [false],
5445
- type: "boolean"
5446
- },
5447
- is_fan_running: { type: "boolean" },
5448
- is_heating: { type: "boolean" },
5449
- is_heating_available: {
5450
- enum: [true],
5451
- type: "boolean"
5452
- },
5453
- is_temporary_manual_override_active: {
5454
- type: "boolean"
5455
- },
5456
- max_heating_set_point_celsius: {
5129
+ automatic_cooling_enabled: { type: "boolean" },
5130
+ automatic_heating_enabled: { type: "boolean" },
5131
+ cooling_set_point_celsius: {
5457
5132
  format: "float",
5458
5133
  type: "number"
5459
5134
  },
5460
- max_heating_set_point_fahrenheit: {
5135
+ cooling_set_point_fahrenheit: {
5461
5136
  format: "float",
5462
5137
  type: "number"
5463
5138
  },
5464
- min_heating_set_point_celsius: {
5139
+ heating_set_point_celsius: {
5465
5140
  format: "float",
5466
5141
  type: "number"
5467
5142
  },
5468
- min_heating_set_point_fahrenheit: {
5143
+ heating_set_point_fahrenheit: {
5469
5144
  format: "float",
5470
5145
  type: "number"
5471
5146
  },
5472
- relative_humidity: {
5473
- format: "float",
5474
- maximum: 1,
5475
- minimum: 0,
5476
- type: "number"
5477
- },
5478
- temperature_celsius: {
5479
- format: "float",
5480
- type: "number"
5147
+ hvac_mode_setting: {
5148
+ enum: ["off", "heat", "cool", "heat_cool"],
5149
+ type: "string"
5481
5150
  },
5482
- temperature_fahrenheit: {
5483
- format: "float",
5484
- type: "number"
5485
- }
5151
+ manual_override_allowed: { type: "boolean" }
5486
5152
  },
5153
+ required: [
5154
+ "automatic_heating_enabled",
5155
+ "automatic_cooling_enabled",
5156
+ "hvac_mode_setting",
5157
+ "manual_override_allowed"
5158
+ ],
5487
5159
  type: "object"
5488
5160
  },
5489
- {
5161
+ default_climate_setting: {
5490
5162
  properties: {
5491
- active_climate_setting_schedule: {
5492
- properties: {
5493
- automatic_cooling_enabled: { type: "boolean" },
5494
- automatic_heating_enabled: { type: "boolean" },
5495
- climate_setting_schedule_id: {
5496
- format: "uuid",
5497
- type: "string"
5498
- },
5499
- cooling_set_point_celsius: {
5500
- format: "float",
5501
- type: "number"
5502
- },
5503
- cooling_set_point_fahrenheit: {
5504
- format: "float",
5505
- type: "number"
5506
- },
5507
- created_at: {
5508
- format: "date-time",
5509
- type: "string"
5510
- },
5511
- device_id: { format: "uuid", type: "string" },
5512
- errors: {
5513
- description: 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.'
5514
- },
5515
- heating_set_point_celsius: {
5516
- format: "float",
5517
- type: "number"
5518
- },
5519
- heating_set_point_fahrenheit: {
5520
- format: "float",
5521
- type: "number"
5522
- },
5523
- hvac_mode_setting: {
5524
- enum: ["off", "heat", "cool", "heat_cool"],
5525
- type: "string"
5526
- },
5527
- manual_override_allowed: { type: "boolean" },
5528
- name: { type: "string" },
5529
- schedule_ends_at: { type: "string" },
5530
- schedule_starts_at: { type: "string" },
5531
- schedule_type: {
5532
- enum: ["time_bound"],
5533
- type: "string"
5534
- }
5535
- },
5536
- required: [
5537
- "climate_setting_schedule_id",
5538
- "schedule_type",
5539
- "device_id",
5540
- "schedule_starts_at",
5541
- "schedule_ends_at",
5542
- "created_at"
5543
- ],
5544
- type: "object"
5545
- },
5546
- available_hvac_mode_settings: {
5547
- items: {
5548
- enum: ["off", "heat", "cool", "heat_cool"],
5549
- type: "string"
5550
- },
5551
- type: "array"
5552
- },
5553
- can_enable_automatic_cooling: { type: "boolean" },
5554
- can_enable_automatic_heating: { type: "boolean" },
5555
- current_climate_setting: {
5556
- properties: {
5557
- automatic_cooling_enabled: { type: "boolean" },
5558
- automatic_heating_enabled: { type: "boolean" },
5559
- cooling_set_point_celsius: {
5560
- format: "float",
5561
- type: "number"
5562
- },
5563
- cooling_set_point_fahrenheit: {
5564
- format: "float",
5565
- type: "number"
5566
- },
5567
- heating_set_point_celsius: {
5568
- format: "float",
5569
- type: "number"
5570
- },
5571
- heating_set_point_fahrenheit: {
5572
- format: "float",
5573
- type: "number"
5574
- },
5575
- hvac_mode_setting: {
5576
- enum: ["off", "heat", "cool", "heat_cool"],
5577
- type: "string"
5578
- },
5579
- manual_override_allowed: { type: "boolean" }
5580
- },
5581
- required: [
5582
- "automatic_heating_enabled",
5583
- "automatic_cooling_enabled",
5584
- "hvac_mode_setting",
5585
- "manual_override_allowed"
5586
- ],
5587
- type: "object"
5588
- },
5589
- default_climate_setting: {
5590
- properties: {
5591
- automatic_cooling_enabled: { type: "boolean" },
5592
- automatic_heating_enabled: { type: "boolean" },
5593
- cooling_set_point_celsius: {
5594
- format: "float",
5595
- type: "number"
5596
- },
5597
- cooling_set_point_fahrenheit: {
5598
- format: "float",
5599
- type: "number"
5600
- },
5601
- heating_set_point_celsius: {
5602
- format: "float",
5603
- type: "number"
5604
- },
5605
- heating_set_point_fahrenheit: {
5606
- format: "float",
5607
- type: "number"
5608
- },
5609
- hvac_mode_setting: {
5610
- enum: ["off", "heat", "cool", "heat_cool"],
5611
- type: "string"
5612
- },
5613
- manual_override_allowed: { type: "boolean" }
5614
- },
5615
- required: [
5616
- "automatic_heating_enabled",
5617
- "automatic_cooling_enabled",
5618
- "hvac_mode_setting",
5619
- "manual_override_allowed"
5620
- ],
5621
- type: "object"
5622
- },
5623
- fan_mode_setting: {
5624
- enum: ["auto", "on"],
5625
- type: "string"
5626
- },
5627
- is_climate_setting_schedule_active: {
5628
- type: "boolean"
5629
- },
5630
- is_cooling: { type: "boolean" },
5631
- is_cooling_available: {
5632
- enum: [true],
5633
- type: "boolean"
5634
- },
5635
- is_fan_running: { type: "boolean" },
5636
- is_heating: { type: "boolean" },
5637
- is_heating_available: {
5638
- enum: [false],
5639
- type: "boolean"
5640
- },
5641
- is_temporary_manual_override_active: {
5642
- type: "boolean"
5643
- },
5644
- max_cooling_set_point_celsius: {
5163
+ automatic_cooling_enabled: { type: "boolean" },
5164
+ automatic_heating_enabled: { type: "boolean" },
5165
+ cooling_set_point_celsius: {
5645
5166
  format: "float",
5646
5167
  type: "number"
5647
5168
  },
5648
- max_cooling_set_point_fahrenheit: {
5169
+ cooling_set_point_fahrenheit: {
5649
5170
  format: "float",
5650
5171
  type: "number"
5651
5172
  },
5652
- min_cooling_set_point_celsius: {
5173
+ heating_set_point_celsius: {
5653
5174
  format: "float",
5654
5175
  type: "number"
5655
5176
  },
5656
- min_cooling_set_point_fahrenheit: {
5177
+ heating_set_point_fahrenheit: {
5657
5178
  format: "float",
5658
5179
  type: "number"
5659
5180
  },
5660
- relative_humidity: {
5661
- format: "float",
5662
- maximum: 1,
5663
- minimum: 0,
5664
- type: "number"
5665
- },
5666
- temperature_celsius: {
5667
- format: "float",
5668
- type: "number"
5181
+ hvac_mode_setting: {
5182
+ enum: ["off", "heat", "cool", "heat_cool"],
5183
+ type: "string"
5669
5184
  },
5670
- temperature_fahrenheit: {
5671
- format: "float",
5672
- type: "number"
5673
- }
5185
+ manual_override_allowed: { type: "boolean" }
5674
5186
  },
5187
+ required: [
5188
+ "automatic_heating_enabled",
5189
+ "automatic_cooling_enabled",
5190
+ "hvac_mode_setting",
5191
+ "manual_override_allowed"
5192
+ ],
5675
5193
  type: "object"
5194
+ },
5195
+ fan_mode_setting: {
5196
+ enum: ["auto", "on"],
5197
+ type: "string"
5198
+ },
5199
+ is_climate_setting_schedule_active: { type: "boolean" },
5200
+ is_cooling: { type: "boolean" },
5201
+ is_fan_running: { type: "boolean" },
5202
+ is_heating: { type: "boolean" },
5203
+ is_temporary_manual_override_active: { type: "boolean" },
5204
+ max_cooling_set_point_celsius: {
5205
+ format: "float",
5206
+ type: "number"
5207
+ },
5208
+ max_cooling_set_point_fahrenheit: {
5209
+ format: "float",
5210
+ type: "number"
5211
+ },
5212
+ max_heating_set_point_celsius: {
5213
+ format: "float",
5214
+ type: "number"
5215
+ },
5216
+ max_heating_set_point_fahrenheit: {
5217
+ format: "float",
5218
+ type: "number"
5219
+ },
5220
+ min_cooling_set_point_celsius: {
5221
+ format: "float",
5222
+ type: "number"
5223
+ },
5224
+ min_cooling_set_point_fahrenheit: {
5225
+ format: "float",
5226
+ type: "number"
5227
+ },
5228
+ min_heating_cooling_delta_celsius: {
5229
+ format: "float",
5230
+ type: "number"
5231
+ },
5232
+ min_heating_cooling_delta_fahrenheit: {
5233
+ format: "float",
5234
+ type: "number"
5235
+ },
5236
+ min_heating_set_point_celsius: {
5237
+ format: "float",
5238
+ type: "number"
5239
+ },
5240
+ min_heating_set_point_fahrenheit: {
5241
+ format: "float",
5242
+ type: "number"
5243
+ },
5244
+ relative_humidity: {
5245
+ format: "float",
5246
+ maximum: 1,
5247
+ minimum: 0,
5248
+ type: "number"
5249
+ },
5250
+ temperature_celsius: { format: "float", type: "number" },
5251
+ temperature_fahrenheit: {
5252
+ format: "float",
5253
+ type: "number"
5676
5254
  }
5677
- ]
5255
+ },
5256
+ type: "object"
5678
5257
  }
5679
5258
  ]
5680
5259
  }