@seamapi/types 1.223.0 → 1.225.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,11 @@ 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
- can_enable_automatic_heating: zod.z.boolean(),
168
- can_enable_automatic_cooling: zod.z.boolean(),
169
167
  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
168
  is_heating: zod.z.boolean(),
173
169
  is_cooling: zod.z.boolean(),
174
170
  is_fan_running: zod.z.boolean(),
@@ -181,41 +177,20 @@ var base_thermostat_capability_properties = zod.z.object({
181
177
  * can be derived from `default_climate_setting`, or `active_climate_setting_schedule` if one is active
182
178
  */
183
179
  current_climate_setting: climate_setting,
184
- default_climate_setting: climate_setting.optional(),
180
+ default_climate_setting: climate_setting,
185
181
  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
- ]);
182
+ active_climate_setting_schedule: climate_setting_schedule,
183
+ min_cooling_set_point_celsius: zod.z.number(),
184
+ min_cooling_set_point_fahrenheit: zod.z.number(),
185
+ max_cooling_set_point_celsius: zod.z.number(),
186
+ max_cooling_set_point_fahrenheit: zod.z.number(),
187
+ min_heating_set_point_celsius: zod.z.number(),
188
+ min_heating_set_point_fahrenheit: zod.z.number(),
189
+ max_heating_set_point_celsius: zod.z.number(),
190
+ max_heating_set_point_fahrenheit: zod.z.number(),
191
+ min_heating_cooling_delta_celsius: zod.z.number(),
192
+ min_heating_cooling_delta_fahrenheit: zod.z.number()
193
+ }).partial();
219
194
 
220
195
  // src/lib/seam/connect/models/devices/capability-properties/index.ts
221
196
  var capability_properties = zod.z.intersection(
@@ -5085,596 +5060,196 @@ var openapi_default = {
5085
5060
  type: "object"
5086
5061
  },
5087
5062
  {
5088
- oneOf: [
5089
- {
5063
+ properties: {
5064
+ active_climate_setting_schedule: {
5090
5065
  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"],
5066
+ automatic_cooling_enabled: { type: "boolean" },
5067
+ automatic_heating_enabled: { type: "boolean" },
5068
+ climate_setting_schedule_id: {
5069
+ format: "uuid",
5225
5070
  type: "string"
5226
5071
  },
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: {
5072
+ cooling_set_point_celsius: {
5245
5073
  format: "float",
5246
5074
  type: "number"
5247
5075
  },
5248
- max_cooling_set_point_fahrenheit: {
5076
+ cooling_set_point_fahrenheit: {
5249
5077
  format: "float",
5250
5078
  type: "number"
5251
5079
  },
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"
5080
+ created_at: { format: "date-time", type: "string" },
5081
+ device_id: { format: "uuid", type: "string" },
5082
+ errors: {
5083
+ 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
5084
  },
5268
- min_heating_cooling_delta_celsius: {
5085
+ heating_set_point_celsius: {
5269
5086
  format: "float",
5270
5087
  type: "number"
5271
5088
  },
5272
- min_heating_cooling_delta_fahrenheit: {
5089
+ heating_set_point_fahrenheit: {
5273
5090
  format: "float",
5274
5091
  type: "number"
5275
5092
  },
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"
5093
+ hvac_mode_setting: {
5094
+ enum: ["off", "heat", "cool", "heat_cool"],
5095
+ type: "string"
5293
5096
  },
5294
- temperature_fahrenheit: {
5295
- format: "float",
5296
- type: "number"
5097
+ manual_override_allowed: { type: "boolean" },
5098
+ name: { type: "string" },
5099
+ schedule_ends_at: { type: "string" },
5100
+ schedule_starts_at: { type: "string" },
5101
+ schedule_type: {
5102
+ enum: ["time_bound"],
5103
+ type: "string"
5297
5104
  }
5298
5105
  },
5106
+ required: [
5107
+ "climate_setting_schedule_id",
5108
+ "schedule_type",
5109
+ "device_id",
5110
+ "schedule_starts_at",
5111
+ "schedule_ends_at",
5112
+ "created_at"
5113
+ ],
5299
5114
  type: "object"
5300
5115
  },
5301
- {
5116
+ available_hvac_mode_settings: {
5117
+ items: {
5118
+ enum: ["off", "heat", "cool", "heat_cool"],
5119
+ type: "string"
5120
+ },
5121
+ type: "array"
5122
+ },
5123
+ current_climate_setting: {
5302
5124
  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: {
5125
+ automatic_cooling_enabled: { type: "boolean" },
5126
+ automatic_heating_enabled: { type: "boolean" },
5127
+ cooling_set_point_celsius: {
5457
5128
  format: "float",
5458
5129
  type: "number"
5459
5130
  },
5460
- max_heating_set_point_fahrenheit: {
5131
+ cooling_set_point_fahrenheit: {
5461
5132
  format: "float",
5462
5133
  type: "number"
5463
5134
  },
5464
- min_heating_set_point_celsius: {
5135
+ heating_set_point_celsius: {
5465
5136
  format: "float",
5466
5137
  type: "number"
5467
5138
  },
5468
- min_heating_set_point_fahrenheit: {
5139
+ heating_set_point_fahrenheit: {
5469
5140
  format: "float",
5470
5141
  type: "number"
5471
5142
  },
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"
5143
+ hvac_mode_setting: {
5144
+ enum: ["off", "heat", "cool", "heat_cool"],
5145
+ type: "string"
5481
5146
  },
5482
- temperature_fahrenheit: {
5483
- format: "float",
5484
- type: "number"
5485
- }
5147
+ manual_override_allowed: { type: "boolean" }
5486
5148
  },
5149
+ required: [
5150
+ "automatic_heating_enabled",
5151
+ "automatic_cooling_enabled",
5152
+ "hvac_mode_setting",
5153
+ "manual_override_allowed"
5154
+ ],
5487
5155
  type: "object"
5488
5156
  },
5489
- {
5157
+ default_climate_setting: {
5490
5158
  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: {
5159
+ automatic_cooling_enabled: { type: "boolean" },
5160
+ automatic_heating_enabled: { type: "boolean" },
5161
+ cooling_set_point_celsius: {
5645
5162
  format: "float",
5646
5163
  type: "number"
5647
5164
  },
5648
- max_cooling_set_point_fahrenheit: {
5165
+ cooling_set_point_fahrenheit: {
5649
5166
  format: "float",
5650
5167
  type: "number"
5651
5168
  },
5652
- min_cooling_set_point_celsius: {
5169
+ heating_set_point_celsius: {
5653
5170
  format: "float",
5654
5171
  type: "number"
5655
5172
  },
5656
- min_cooling_set_point_fahrenheit: {
5173
+ heating_set_point_fahrenheit: {
5657
5174
  format: "float",
5658
5175
  type: "number"
5659
5176
  },
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"
5177
+ hvac_mode_setting: {
5178
+ enum: ["off", "heat", "cool", "heat_cool"],
5179
+ type: "string"
5669
5180
  },
5670
- temperature_fahrenheit: {
5671
- format: "float",
5672
- type: "number"
5673
- }
5181
+ manual_override_allowed: { type: "boolean" }
5674
5182
  },
5183
+ required: [
5184
+ "automatic_heating_enabled",
5185
+ "automatic_cooling_enabled",
5186
+ "hvac_mode_setting",
5187
+ "manual_override_allowed"
5188
+ ],
5675
5189
  type: "object"
5190
+ },
5191
+ fan_mode_setting: {
5192
+ enum: ["auto", "on"],
5193
+ type: "string"
5194
+ },
5195
+ is_climate_setting_schedule_active: { type: "boolean" },
5196
+ is_cooling: { type: "boolean" },
5197
+ is_fan_running: { type: "boolean" },
5198
+ is_heating: { type: "boolean" },
5199
+ is_temporary_manual_override_active: { type: "boolean" },
5200
+ max_cooling_set_point_celsius: {
5201
+ format: "float",
5202
+ type: "number"
5203
+ },
5204
+ max_cooling_set_point_fahrenheit: {
5205
+ format: "float",
5206
+ type: "number"
5207
+ },
5208
+ max_heating_set_point_celsius: {
5209
+ format: "float",
5210
+ type: "number"
5211
+ },
5212
+ max_heating_set_point_fahrenheit: {
5213
+ format: "float",
5214
+ type: "number"
5215
+ },
5216
+ min_cooling_set_point_celsius: {
5217
+ format: "float",
5218
+ type: "number"
5219
+ },
5220
+ min_cooling_set_point_fahrenheit: {
5221
+ format: "float",
5222
+ type: "number"
5223
+ },
5224
+ min_heating_cooling_delta_celsius: {
5225
+ format: "float",
5226
+ type: "number"
5227
+ },
5228
+ min_heating_cooling_delta_fahrenheit: {
5229
+ format: "float",
5230
+ type: "number"
5231
+ },
5232
+ min_heating_set_point_celsius: {
5233
+ format: "float",
5234
+ type: "number"
5235
+ },
5236
+ min_heating_set_point_fahrenheit: {
5237
+ format: "float",
5238
+ type: "number"
5239
+ },
5240
+ relative_humidity: {
5241
+ format: "float",
5242
+ maximum: 1,
5243
+ minimum: 0,
5244
+ type: "number"
5245
+ },
5246
+ temperature_celsius: { format: "float", type: "number" },
5247
+ temperature_fahrenheit: {
5248
+ format: "float",
5249
+ type: "number"
5676
5250
  }
5677
- ]
5251
+ },
5252
+ type: "object"
5678
5253
  }
5679
5254
  ]
5680
5255
  }