@seamapi/types 1.241.0 → 1.242.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/connect.cjs +281 -137
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +370 -182
  4. package/dist/devicedb.cjs +9 -6
  5. package/dist/devicedb.cjs.map +1 -1
  6. package/dist/devicedb.d.cts +123 -70
  7. package/lib/seam/connect/models/acs/acs-system.d.ts +86 -42
  8. package/lib/seam/connect/models/acs/acs-system.js +23 -20
  9. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  10. package/lib/seam/connect/models/acs/acs-user.d.ts +169 -140
  11. package/lib/seam/connect/models/acs/acs-user.js +32 -30
  12. package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
  13. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -5
  14. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +5 -5
  15. package/lib/seam/connect/models/devices/device.d.ts +6 -6
  16. package/lib/seam/connect/models/devices/phone.d.ts +5 -5
  17. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -5
  18. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +3 -3
  19. package/lib/seam/connect/models/thermostats/climate-preset.js +1 -1
  20. package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
  21. package/lib/seam/connect/models/thermostats/index.d.ts +1 -1
  22. package/lib/seam/connect/models/thermostats/index.js +1 -1
  23. package/lib/seam/connect/models/thermostats/index.js.map +1 -1
  24. package/lib/seam/connect/models/thermostats/{climate-setting-schedule.js → thermostat-schedule.js} +1 -1
  25. package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -0
  26. package/lib/seam/connect/openapi.d.ts +45 -18
  27. package/lib/seam/connect/openapi.js +219 -90
  28. package/lib/seam/connect/openapi.js.map +1 -1
  29. package/lib/seam/connect/route-types.d.ts +176 -78
  30. package/lib/seam/devicedb/models/device-model.d.ts +59 -24
  31. package/lib/seam/devicedb/models/device-model.js +9 -6
  32. package/lib/seam/devicedb/models/device-model.js.map +1 -1
  33. package/lib/seam/devicedb/route-specs.d.ts +56 -38
  34. package/lib/seam/devicedb/route-types.d.ts +8 -8
  35. package/package.json +1 -1
  36. package/src/lib/seam/connect/models/acs/acs-system.ts +32 -24
  37. package/src/lib/seam/connect/models/acs/acs-user.ts +41 -35
  38. package/src/lib/seam/connect/models/thermostats/climate-preset.ts +1 -1
  39. package/src/lib/seam/connect/models/thermostats/index.ts +1 -1
  40. package/src/lib/seam/connect/openapi.ts +249 -90
  41. package/src/lib/seam/connect/route-types.ts +187 -78
  42. package/src/lib/seam/devicedb/models/device-model.ts +24 -19
  43. package/src/lib/seam/devicedb/route-types.ts +8 -8
  44. package/lib/seam/connect/models/thermostats/climate-setting-schedule.js.map +0 -1
  45. /package/lib/seam/connect/models/thermostats/{climate-setting-schedule.d.ts → thermostat-schedule.d.ts} +0 -0
  46. /package/src/lib/seam/connect/models/thermostats/{climate-setting-schedule.ts → thermostat-schedule.ts} +0 -0
@@ -519,7 +519,7 @@ export default {
519
519
  },
520
520
  error_code: {
521
521
  description: 'Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.',
522
- enum: ['salto_site_user_limit_reached'],
522
+ enum: ['salto_ks_subscription_limit_exceeded'],
523
523
  type: 'string',
524
524
  },
525
525
  message: {
@@ -538,8 +538,28 @@ export default {
538
538
  type: 'string',
539
539
  },
540
540
  error_code: {
541
- description: "Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block",
542
- enum: ['salto_seam_integration_blocked'],
541
+ description: 'Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue.',
542
+ enum: ['acs_system_disconnected'],
543
+ type: 'string',
544
+ },
545
+ message: {
546
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
547
+ type: 'string',
548
+ },
549
+ },
550
+ required: ['created_at', 'message', 'error_code'],
551
+ type: 'object',
552
+ },
553
+ {
554
+ properties: {
555
+ created_at: {
556
+ description: 'Date and time at which Seam created the error.',
557
+ format: 'date-time',
558
+ type: 'string',
559
+ },
560
+ error_code: {
561
+ description: 'Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access.',
562
+ enum: ['account_disconnected'],
543
563
  type: 'string',
544
564
  },
545
565
  message: {
@@ -625,8 +645,8 @@ export default {
625
645
  type: 'string',
626
646
  },
627
647
  warning_code: {
628
- description: 'You have reached more than 80% of the maximum number of users allowed for your site; Please contact Salto support to increase your user limit.',
629
- enum: ['salto_site_user_limit_almost_reached'],
648
+ description: 'Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this.',
649
+ enum: ['salto_ks_subscription_limit_almost_reached'],
630
650
  type: 'string',
631
651
  },
632
652
  },
@@ -680,7 +700,7 @@ export default {
680
700
  description: 'Error associated with the `acs_user`.',
681
701
  oneOf: [
682
702
  {
683
- description: 'Indicates that the user was deleted from the ACS system outside of Seam.',
703
+ description: 'Indicates that the ACS user was deleted from the ACS system outside of Seam.',
684
704
  properties: {
685
705
  created_at: {
686
706
  description: 'Date and time at which Seam created the error.',
@@ -688,7 +708,7 @@ export default {
688
708
  type: 'string',
689
709
  },
690
710
  error_code: {
691
- enum: ['user_deleted_externally'],
711
+ enum: ['deleted_externally'],
692
712
  type: 'string',
693
713
  },
694
714
  message: {
@@ -720,22 +740,63 @@ export default {
720
740
  type: 'object',
721
741
  },
722
742
  {
743
+ description: "Indicates that the user was not created on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
723
744
  properties: {
724
745
  created_at: {
725
746
  description: 'Date and time at which Seam created the error.',
726
747
  format: 'date-time',
727
748
  type: 'string',
728
749
  },
729
- error_code: {
730
- enum: ['salto_site_user_limit_reached'],
750
+ message: {
751
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
752
+ type: 'string',
753
+ },
754
+ warning_code: {
755
+ enum: ['failed_to_create_on_acs_system'],
756
+ type: 'string',
757
+ },
758
+ },
759
+ required: ['created_at', 'message', 'warning_code'],
760
+ type: 'object',
761
+ },
762
+ {
763
+ description: "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
764
+ properties: {
765
+ created_at: {
766
+ description: 'Date and time at which Seam created the error.',
767
+ format: 'date-time',
731
768
  type: 'string',
732
769
  },
733
770
  message: {
734
771
  description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
735
772
  type: 'string',
736
773
  },
774
+ warning_code: {
775
+ enum: ['failed_to_update_on_acs_system'],
776
+ type: 'string',
777
+ },
737
778
  },
738
- required: ['created_at', 'message', 'error_code'],
779
+ required: ['created_at', 'message', 'warning_code'],
780
+ type: 'object',
781
+ },
782
+ {
783
+ description: "Indicates that the user was not deleted on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
784
+ properties: {
785
+ created_at: {
786
+ description: 'Date and time at which Seam created the error.',
787
+ format: 'date-time',
788
+ type: 'string',
789
+ },
790
+ message: {
791
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
792
+ type: 'string',
793
+ },
794
+ warning_code: {
795
+ enum: ['failed_to_delete_on_acs_system'],
796
+ type: 'string',
797
+ },
798
+ },
799
+ required: ['created_at', 'message', 'warning_code'],
739
800
  type: 'object',
740
801
  },
741
802
  ],
@@ -784,8 +845,15 @@ export default {
784
845
  {
785
846
  description: "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
786
847
  properties: {
787
- created_at: { format: 'date-time', type: 'string' },
788
- message: { type: 'string' },
848
+ created_at: {
849
+ description: 'Date and time at which Seam created the error.',
850
+ format: 'date-time',
851
+ type: 'string',
852
+ },
853
+ message: {
854
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
855
+ type: 'string',
856
+ },
789
857
  warning_code: {
790
858
  enum: ['failed_to_update_on_acs_system'],
791
859
  type: 'string',
@@ -807,18 +875,6 @@ export default {
807
875
  required: ['created_at', 'message', 'warning_code'],
808
876
  type: 'object',
809
877
  },
810
- {
811
- properties: {
812
- created_at: { format: 'date-time', type: 'string' },
813
- message: { type: 'string' },
814
- warning_code: {
815
- enum: ['salto_site_user_suspended'],
816
- type: 'string',
817
- },
818
- },
819
- required: ['created_at', 'message', 'warning_code'],
820
- type: 'object',
821
- },
822
878
  ],
823
879
  },
824
880
  type: 'array',
@@ -3116,13 +3172,16 @@ export default {
3116
3172
  type: 'string',
3117
3173
  },
3118
3174
  manual_override_allowed: { type: 'boolean' },
3119
- name: { nullable: true, type: 'string' },
3175
+ name: {
3176
+ default: null,
3177
+ nullable: true,
3178
+ type: 'string',
3179
+ },
3120
3180
  },
3121
3181
  required: [
3122
3182
  'climate_preset_key',
3123
3183
  'can_edit',
3124
3184
  'can_delete',
3125
- 'name',
3126
3185
  'display_name',
3127
3186
  'manual_override_allowed',
3128
3187
  ],
@@ -3168,7 +3227,11 @@ export default {
3168
3227
  type: 'string',
3169
3228
  },
3170
3229
  manual_override_allowed: { type: 'boolean' },
3171
- name: { nullable: true, type: 'string' },
3230
+ name: {
3231
+ default: null,
3232
+ nullable: true,
3233
+ type: 'string',
3234
+ },
3172
3235
  },
3173
3236
  type: 'object',
3174
3237
  },
@@ -3204,7 +3267,11 @@ export default {
3204
3267
  type: 'string',
3205
3268
  },
3206
3269
  manual_override_allowed: { type: 'boolean' },
3207
- name: { nullable: true, type: 'string' },
3270
+ name: {
3271
+ default: null,
3272
+ nullable: true,
3273
+ type: 'string',
3274
+ },
3208
3275
  },
3209
3276
  type: 'object',
3210
3277
  'x-deprecated': 'use fallback_climate_preset_key to specify a fallback climate preset instead.',
@@ -7784,7 +7851,7 @@ export default {
7784
7851
  description: 'Error associated with the `acs_user`.',
7785
7852
  oneOf: [
7786
7853
  {
7787
- description: 'Indicates that the user was deleted from the ACS system outside of Seam.',
7854
+ description: 'Indicates that the ACS user was deleted from the ACS system outside of Seam.',
7788
7855
  properties: {
7789
7856
  created_at: {
7790
7857
  description: 'Date and time at which Seam created the error.',
@@ -7792,7 +7859,7 @@ export default {
7792
7859
  type: 'string',
7793
7860
  },
7794
7861
  error_code: {
7795
- enum: ['user_deleted_externally'],
7862
+ enum: ['deleted_externally'],
7796
7863
  type: 'string',
7797
7864
  },
7798
7865
  message: {
@@ -7834,25 +7901,74 @@ export default {
7834
7901
  type: 'object',
7835
7902
  },
7836
7903
  {
7904
+ description: "Indicates that the user was not created on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
7837
7905
  properties: {
7838
7906
  created_at: {
7839
7907
  description: 'Date and time at which Seam created the error.',
7840
7908
  format: 'date-time',
7841
7909
  type: 'string',
7842
7910
  },
7843
- error_code: {
7844
- enum: ['salto_site_user_limit_reached'],
7911
+ message: {
7912
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
7913
+ type: 'string',
7914
+ },
7915
+ warning_code: {
7916
+ enum: ['failed_to_create_on_acs_system'],
7917
+ type: 'string',
7918
+ },
7919
+ },
7920
+ required: [
7921
+ 'created_at',
7922
+ 'message',
7923
+ 'warning_code',
7924
+ ],
7925
+ type: 'object',
7926
+ },
7927
+ {
7928
+ description: "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
7929
+ properties: {
7930
+ created_at: {
7931
+ description: 'Date and time at which Seam created the error.',
7932
+ format: 'date-time',
7845
7933
  type: 'string',
7846
7934
  },
7847
7935
  message: {
7848
7936
  description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
7849
7937
  type: 'string',
7850
7938
  },
7939
+ warning_code: {
7940
+ enum: ['failed_to_update_on_acs_system'],
7941
+ type: 'string',
7942
+ },
7851
7943
  },
7852
7944
  required: [
7853
7945
  'created_at',
7854
7946
  'message',
7855
- 'error_code',
7947
+ 'warning_code',
7948
+ ],
7949
+ type: 'object',
7950
+ },
7951
+ {
7952
+ description: "Indicates that the user was not deleted on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
7953
+ properties: {
7954
+ created_at: {
7955
+ description: 'Date and time at which Seam created the error.',
7956
+ format: 'date-time',
7957
+ type: 'string',
7958
+ },
7959
+ message: {
7960
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
7961
+ type: 'string',
7962
+ },
7963
+ warning_code: {
7964
+ enum: ['failed_to_delete_on_acs_system'],
7965
+ type: 'string',
7966
+ },
7967
+ },
7968
+ required: [
7969
+ 'created_at',
7970
+ 'message',
7971
+ 'warning_code',
7856
7972
  ],
7857
7973
  type: 'object',
7858
7974
  },
@@ -7924,10 +8040,14 @@ export default {
7924
8040
  description: "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
7925
8041
  properties: {
7926
8042
  created_at: {
8043
+ description: 'Date and time at which Seam created the error.',
7927
8044
  format: 'date-time',
7928
8045
  type: 'string',
7929
8046
  },
7930
- message: { type: 'string' },
8047
+ message: {
8048
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8049
+ type: 'string',
8050
+ },
7931
8051
  warning_code: {
7932
8052
  enum: ['failed_to_update_on_acs_system'],
7933
8053
  type: 'string',
@@ -7960,25 +8080,6 @@ export default {
7960
8080
  ],
7961
8081
  type: 'object',
7962
8082
  },
7963
- {
7964
- properties: {
7965
- created_at: {
7966
- format: 'date-time',
7967
- type: 'string',
7968
- },
7969
- message: { type: 'string' },
7970
- warning_code: {
7971
- enum: ['salto_site_user_suspended'],
7972
- type: 'string',
7973
- },
7974
- },
7975
- required: [
7976
- 'created_at',
7977
- 'message',
7978
- 'warning_code',
7979
- ],
7980
- type: 'object',
7981
- },
7982
8083
  ],
7983
8084
  },
7984
8085
  type: 'array',
@@ -8069,7 +8170,7 @@ export default {
8069
8170
  description: 'Error associated with the `acs_user`.',
8070
8171
  oneOf: [
8071
8172
  {
8072
- description: 'Indicates that the user was deleted from the ACS system outside of Seam.',
8173
+ description: 'Indicates that the ACS user was deleted from the ACS system outside of Seam.',
8073
8174
  properties: {
8074
8175
  created_at: {
8075
8176
  description: 'Date and time at which Seam created the error.',
@@ -8077,7 +8178,7 @@ export default {
8077
8178
  type: 'string',
8078
8179
  },
8079
8180
  error_code: {
8080
- enum: ['user_deleted_externally'],
8181
+ enum: ['deleted_externally'],
8081
8182
  type: 'string',
8082
8183
  },
8083
8184
  message: {
@@ -8119,25 +8220,74 @@ export default {
8119
8220
  type: 'object',
8120
8221
  },
8121
8222
  {
8223
+ description: "Indicates that the user was not created on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
8122
8224
  properties: {
8123
8225
  created_at: {
8124
8226
  description: 'Date and time at which Seam created the error.',
8125
8227
  format: 'date-time',
8126
8228
  type: 'string',
8127
8229
  },
8128
- error_code: {
8129
- enum: ['salto_site_user_limit_reached'],
8230
+ message: {
8231
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8232
+ type: 'string',
8233
+ },
8234
+ warning_code: {
8235
+ enum: ['failed_to_create_on_acs_system'],
8236
+ type: 'string',
8237
+ },
8238
+ },
8239
+ required: [
8240
+ 'created_at',
8241
+ 'message',
8242
+ 'warning_code',
8243
+ ],
8244
+ type: 'object',
8245
+ },
8246
+ {
8247
+ description: "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
8248
+ properties: {
8249
+ created_at: {
8250
+ description: 'Date and time at which Seam created the error.',
8251
+ format: 'date-time',
8130
8252
  type: 'string',
8131
8253
  },
8132
8254
  message: {
8133
8255
  description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8134
8256
  type: 'string',
8135
8257
  },
8258
+ warning_code: {
8259
+ enum: ['failed_to_update_on_acs_system'],
8260
+ type: 'string',
8261
+ },
8136
8262
  },
8137
8263
  required: [
8138
8264
  'created_at',
8139
8265
  'message',
8140
- 'error_code',
8266
+ 'warning_code',
8267
+ ],
8268
+ type: 'object',
8269
+ },
8270
+ {
8271
+ description: "Indicates that the user was not deleted on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
8272
+ properties: {
8273
+ created_at: {
8274
+ description: 'Date and time at which Seam created the error.',
8275
+ format: 'date-time',
8276
+ type: 'string',
8277
+ },
8278
+ message: {
8279
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8280
+ type: 'string',
8281
+ },
8282
+ warning_code: {
8283
+ enum: ['failed_to_delete_on_acs_system'],
8284
+ type: 'string',
8285
+ },
8286
+ },
8287
+ required: [
8288
+ 'created_at',
8289
+ 'message',
8290
+ 'warning_code',
8141
8291
  ],
8142
8292
  type: 'object',
8143
8293
  },
@@ -8209,10 +8359,14 @@ export default {
8209
8359
  description: "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
8210
8360
  properties: {
8211
8361
  created_at: {
8362
+ description: 'Date and time at which Seam created the error.',
8212
8363
  format: 'date-time',
8213
8364
  type: 'string',
8214
8365
  },
8215
- message: { type: 'string' },
8366
+ message: {
8367
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8368
+ type: 'string',
8369
+ },
8216
8370
  warning_code: {
8217
8371
  enum: ['failed_to_update_on_acs_system'],
8218
8372
  type: 'string',
@@ -8245,25 +8399,6 @@ export default {
8245
8399
  ],
8246
8400
  type: 'object',
8247
8401
  },
8248
- {
8249
- properties: {
8250
- created_at: {
8251
- format: 'date-time',
8252
- type: 'string',
8253
- },
8254
- message: { type: 'string' },
8255
- warning_code: {
8256
- enum: ['salto_site_user_suspended'],
8257
- type: 'string',
8258
- },
8259
- },
8260
- required: [
8261
- 'created_at',
8262
- 'message',
8263
- 'warning_code',
8264
- ],
8265
- type: 'object',
8266
- },
8267
8402
  ],
8268
8403
  },
8269
8404
  type: 'array',
@@ -12355,12 +12490,11 @@ export default {
12355
12490
  type: 'string',
12356
12491
  },
12357
12492
  manual_override_allowed: { type: 'boolean' },
12358
- name: { nullable: true, type: 'string' },
12493
+ name: { default: null, nullable: true, type: 'string' },
12359
12494
  },
12360
12495
  required: [
12361
12496
  'device_id',
12362
12497
  'climate_preset_key',
12363
- 'name',
12364
12498
  'manual_override_allowed',
12365
12499
  ],
12366
12500
  type: 'object',
@@ -12405,13 +12539,12 @@ export default {
12405
12539
  type: 'string',
12406
12540
  },
12407
12541
  manual_override_allowed: { type: 'boolean' },
12408
- name: { nullable: true, type: 'string' },
12542
+ name: { default: null, nullable: true, type: 'string' },
12409
12543
  },
12410
12544
  required: [
12411
12545
  'climate_preset_key',
12412
12546
  'can_edit',
12413
12547
  'can_delete',
12414
- 'name',
12415
12548
  'display_name',
12416
12549
  'manual_override_allowed',
12417
12550
  ],
@@ -13412,12 +13545,11 @@ export default {
13412
13545
  type: 'string',
13413
13546
  },
13414
13547
  manual_override_allowed: { type: 'boolean' },
13415
- name: { nullable: true, type: 'string' },
13548
+ name: { default: null, nullable: true, type: 'string' },
13416
13549
  },
13417
13550
  required: [
13418
13551
  'device_id',
13419
13552
  'climate_preset_key',
13420
- 'name',
13421
13553
  'manual_override_allowed',
13422
13554
  ],
13423
13555
  type: 'object',
@@ -13462,13 +13594,12 @@ export default {
13462
13594
  type: 'string',
13463
13595
  },
13464
13596
  manual_override_allowed: { type: 'boolean' },
13465
- name: { nullable: true, type: 'string' },
13597
+ name: { default: null, nullable: true, type: 'string' },
13466
13598
  },
13467
13599
  required: [
13468
13600
  'climate_preset_key',
13469
13601
  'can_edit',
13470
13602
  'can_delete',
13471
- 'name',
13472
13603
  'display_name',
13473
13604
  'manual_override_allowed',
13474
13605
  ],
@@ -13526,12 +13657,11 @@ export default {
13526
13657
  type: 'string',
13527
13658
  },
13528
13659
  manual_override_allowed: { type: 'boolean' },
13529
- name: { nullable: true, type: 'string' },
13660
+ name: { default: null, nullable: true, type: 'string' },
13530
13661
  },
13531
13662
  required: [
13532
13663
  'device_id',
13533
13664
  'climate_preset_key',
13534
- 'name',
13535
13665
  'manual_override_allowed',
13536
13666
  ],
13537
13667
  type: 'object',
@@ -13576,13 +13706,12 @@ export default {
13576
13706
  type: 'string',
13577
13707
  },
13578
13708
  manual_override_allowed: { type: 'boolean' },
13579
- name: { nullable: true, type: 'string' },
13709
+ name: { default: null, nullable: true, type: 'string' },
13580
13710
  },
13581
13711
  required: [
13582
13712
  'climate_preset_key',
13583
13713
  'can_edit',
13584
13714
  'can_delete',
13585
- 'name',
13586
13715
  'display_name',
13587
13716
  'manual_override_allowed',
13588
13717
  ],