@seamapi/types 1.91.2 → 1.91.3

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.
@@ -758,993 +758,888 @@ export default {
758
758
  },
759
759
  {
760
760
  properties: {
761
- august_metadata: {
761
+ assa_abloy_credential_service_metadata: {
762
762
  properties: {
763
- has_keypad: { type: 'boolean' },
764
- house_id: { type: 'string' },
765
- house_name: { type: 'string' },
766
- keypad_battery_level: { type: 'string' },
767
- lock_id: { type: 'string' },
768
- lock_name: { type: 'string' },
769
- model: { type: 'string' },
770
- },
771
- required: [
772
- 'lock_id',
773
- 'lock_name',
774
- 'house_name',
775
- 'has_keypad',
776
- ],
777
- type: 'object',
778
- },
779
- avigilon_alta_metadata: {
780
- properties: {
781
- entry_name: { type: 'string' },
782
- org_name: { type: 'string' },
783
- site_id: { type: 'number' },
784
- site_name: { type: 'string' },
785
- zone_id: { type: 'number' },
786
- zone_name: { type: 'string' },
787
- },
788
- required: [
789
- 'entry_name',
790
- 'org_name',
791
- 'zone_id',
792
- 'zone_name',
793
- 'site_id',
794
- 'site_name',
795
- ],
796
- type: 'object',
797
- },
798
- brivo_metadata: {
799
- properties: { device_name: { type: 'string' } },
800
- required: ['device_name'],
801
- type: 'object',
802
- },
803
- controlbyweb_metadata: {
804
- properties: {
805
- device_id: { type: 'string' },
806
- device_name: { type: 'string' },
807
- relay_name: { nullable: true, type: 'string' },
808
- },
809
- required: [
810
- 'device_id',
811
- 'device_name',
812
- 'relay_name',
813
- ],
814
- type: 'object',
815
- },
816
- dormakaba_oracode_metadata: {
817
- properties: {
818
- device_id: { type: 'number' },
819
- door_id: { type: 'number' },
820
- door_name: { type: 'string' },
821
- iana_timezone: { type: 'string' },
822
- predefined_time_slots: {
763
+ endpoints: {
823
764
  items: {
824
765
  properties: {
825
- check_in_time: { type: 'string' },
826
- check_out_time: { type: 'string' },
827
- dormakaba_oracode_user_level_id: {
828
- format: 'uuid',
829
- type: 'string',
830
- },
831
- ext_dormakaba_oracode_user_level_prefix: {
832
- type: 'number',
833
- },
834
- is_24_hour: { type: 'boolean' },
835
- is_biweekly_mode: { type: 'boolean' },
836
- is_master: { type: 'boolean' },
837
- is_one_shot: { type: 'boolean' },
838
- name: { type: 'string' },
839
- prefix: { type: 'number' },
766
+ endpoint_id: { type: 'string' },
767
+ is_active: { type: 'boolean' },
840
768
  },
841
- required: [
842
- 'name',
843
- 'prefix',
844
- 'check_in_time',
845
- 'check_out_time',
846
- 'is_24_hour',
847
- 'is_biweekly_mode',
848
- 'is_one_shot',
849
- 'is_master',
850
- 'ext_dormakaba_oracode_user_level_prefix',
851
- 'dormakaba_oracode_user_level_id',
852
- ],
769
+ required: ['endpoint_id', 'is_active'],
853
770
  type: 'object',
854
771
  },
855
772
  type: 'array',
856
773
  },
857
- site_id: { type: 'number' },
858
- site_name: { type: 'string' },
774
+ has_active_endpoint: { type: 'boolean' },
859
775
  },
860
- required: [
861
- 'door_id',
862
- 'door_name',
863
- 'site_id',
864
- 'site_name',
865
- ],
776
+ required: ['has_active_endpoint', 'endpoints'],
866
777
  type: 'object',
867
778
  },
868
- ecobee_metadata: {
869
- properties: {
870
- device_name: { type: 'string' },
871
- ecobee_device_id: { type: 'string' },
779
+ },
780
+ type: 'object',
781
+ },
782
+ ],
783
+ },
784
+ {
785
+ properties: {
786
+ august_metadata: {
787
+ properties: {
788
+ has_keypad: { type: 'boolean' },
789
+ house_id: { type: 'string' },
790
+ house_name: { type: 'string' },
791
+ keypad_battery_level: { type: 'string' },
792
+ lock_id: { type: 'string' },
793
+ lock_name: { type: 'string' },
794
+ model: { type: 'string' },
795
+ },
796
+ required: [
797
+ 'lock_id',
798
+ 'lock_name',
799
+ 'house_name',
800
+ 'has_keypad',
801
+ ],
802
+ type: 'object',
803
+ },
804
+ avigilon_alta_metadata: {
805
+ properties: {
806
+ entry_name: { type: 'string' },
807
+ org_name: { type: 'string' },
808
+ site_id: { type: 'number' },
809
+ site_name: { type: 'string' },
810
+ zone_id: { type: 'number' },
811
+ zone_name: { type: 'string' },
812
+ },
813
+ required: [
814
+ 'entry_name',
815
+ 'org_name',
816
+ 'zone_id',
817
+ 'zone_name',
818
+ 'site_id',
819
+ 'site_name',
820
+ ],
821
+ type: 'object',
822
+ },
823
+ brivo_metadata: {
824
+ properties: { device_name: { type: 'string' } },
825
+ required: ['device_name'],
826
+ type: 'object',
827
+ },
828
+ controlbyweb_metadata: {
829
+ properties: {
830
+ device_id: { type: 'string' },
831
+ device_name: { type: 'string' },
832
+ relay_name: { nullable: true, type: 'string' },
833
+ },
834
+ required: ['device_id', 'device_name', 'relay_name'],
835
+ type: 'object',
836
+ },
837
+ dormakaba_oracode_metadata: {
838
+ properties: {
839
+ device_id: { type: 'number' },
840
+ door_id: { type: 'number' },
841
+ door_name: { type: 'string' },
842
+ iana_timezone: { type: 'string' },
843
+ predefined_time_slots: {
844
+ items: {
845
+ properties: {
846
+ check_in_time: { type: 'string' },
847
+ check_out_time: { type: 'string' },
848
+ dormakaba_oracode_user_level_id: {
849
+ format: 'uuid',
850
+ type: 'string',
851
+ },
852
+ ext_dormakaba_oracode_user_level_prefix: {
853
+ type: 'number',
854
+ },
855
+ is_24_hour: { type: 'boolean' },
856
+ is_biweekly_mode: { type: 'boolean' },
857
+ is_master: { type: 'boolean' },
858
+ is_one_shot: { type: 'boolean' },
859
+ name: { type: 'string' },
860
+ prefix: { type: 'number' },
861
+ },
862
+ required: [
863
+ 'name',
864
+ 'prefix',
865
+ 'check_in_time',
866
+ 'check_out_time',
867
+ 'is_24_hour',
868
+ 'is_biweekly_mode',
869
+ 'is_one_shot',
870
+ 'is_master',
871
+ 'ext_dormakaba_oracode_user_level_prefix',
872
+ 'dormakaba_oracode_user_level_id',
873
+ ],
874
+ type: 'object',
872
875
  },
873
- required: ['ecobee_device_id', 'device_name'],
874
- type: 'object',
876
+ type: 'array',
875
877
  },
876
- four_suites_metadata: {
878
+ site_id: { type: 'number' },
879
+ site_name: { type: 'string' },
880
+ },
881
+ required: [
882
+ 'door_id',
883
+ 'door_name',
884
+ 'site_id',
885
+ 'site_name',
886
+ ],
887
+ type: 'object',
888
+ },
889
+ ecobee_metadata: {
890
+ properties: {
891
+ device_name: { type: 'string' },
892
+ ecobee_device_id: { type: 'string' },
893
+ },
894
+ required: ['ecobee_device_id', 'device_name'],
895
+ type: 'object',
896
+ },
897
+ four_suites_metadata: {
898
+ properties: {
899
+ device_id: { type: 'number' },
900
+ device_name: { type: 'string' },
901
+ reclose_delay_in_seconds: { type: 'number' },
902
+ },
903
+ required: [
904
+ 'device_id',
905
+ 'device_name',
906
+ 'reclose_delay_in_seconds',
907
+ ],
908
+ type: 'object',
909
+ },
910
+ genie_metadata: {
911
+ properties: {
912
+ device_name: { type: 'string' },
913
+ door_name: { type: 'string' },
914
+ },
915
+ required: ['device_name', 'door_name'],
916
+ type: 'object',
917
+ },
918
+ hubitat_metadata: {
919
+ properties: {
920
+ device_id: { type: 'string' },
921
+ device_label: { type: 'string' },
922
+ device_name: { type: 'string' },
923
+ },
924
+ required: ['device_id', 'device_name', 'device_label'],
925
+ type: 'object',
926
+ },
927
+ igloo_metadata: {
928
+ properties: {
929
+ bridge_id: { type: 'string' },
930
+ device_id: { type: 'string' },
931
+ model: { type: 'string' },
932
+ },
933
+ required: ['device_id', 'bridge_id'],
934
+ type: 'object',
935
+ },
936
+ igloohome_metadata: {
937
+ properties: {
938
+ bridge_id: { type: 'string' },
939
+ bridge_name: { type: 'string' },
940
+ device_id: { type: 'string' },
941
+ device_name: { type: 'string' },
942
+ },
943
+ required: ['device_id', 'device_name'],
944
+ type: 'object',
945
+ },
946
+ kwikset_metadata: {
947
+ properties: {
948
+ device_id: { type: 'string' },
949
+ device_name: { type: 'string' },
950
+ model_number: { type: 'string' },
951
+ },
952
+ required: ['device_id', 'device_name', 'model_number'],
953
+ type: 'object',
954
+ },
955
+ lockly_metadata: {
956
+ properties: {
957
+ device_id: { type: 'string' },
958
+ device_name: { type: 'string' },
959
+ model: { type: 'string' },
960
+ },
961
+ required: ['device_id', 'device_name'],
962
+ type: 'object',
963
+ },
964
+ minut_metadata: {
965
+ properties: {
966
+ device_id: { type: 'string' },
967
+ device_name: { type: 'string' },
968
+ latest_sensor_values: {
877
969
  properties: {
878
- device_id: { type: 'number' },
879
- device_name: { type: 'string' },
880
- reclose_delay_in_seconds: { type: 'number' },
970
+ accelerometer_z: {
971
+ properties: {
972
+ time: { type: 'string' },
973
+ value: { type: 'number' },
974
+ },
975
+ required: ['time', 'value'],
976
+ type: 'object',
977
+ },
978
+ humidity: {
979
+ properties: {
980
+ time: { type: 'string' },
981
+ value: { type: 'number' },
982
+ },
983
+ required: ['time', 'value'],
984
+ type: 'object',
985
+ },
986
+ pressure: {
987
+ properties: {
988
+ time: { type: 'string' },
989
+ value: { type: 'number' },
990
+ },
991
+ required: ['time', 'value'],
992
+ type: 'object',
993
+ },
994
+ sound: {
995
+ properties: {
996
+ time: { type: 'string' },
997
+ value: { type: 'number' },
998
+ },
999
+ required: ['time', 'value'],
1000
+ type: 'object',
1001
+ },
1002
+ temperature: {
1003
+ properties: {
1004
+ time: { type: 'string' },
1005
+ value: { type: 'number' },
1006
+ },
1007
+ required: ['time', 'value'],
1008
+ type: 'object',
1009
+ },
881
1010
  },
882
1011
  required: [
883
- 'device_id',
884
- 'device_name',
885
- 'reclose_delay_in_seconds',
1012
+ 'temperature',
1013
+ 'sound',
1014
+ 'humidity',
1015
+ 'pressure',
1016
+ 'accelerometer_z',
886
1017
  ],
887
1018
  type: 'object',
888
1019
  },
889
- genie_metadata: {
890
- properties: {
891
- device_name: { type: 'string' },
892
- door_name: { type: 'string' },
893
- },
894
- required: ['device_name', 'door_name'],
895
- type: 'object',
1020
+ },
1021
+ required: [
1022
+ 'device_id',
1023
+ 'device_name',
1024
+ 'latest_sensor_values',
1025
+ ],
1026
+ type: 'object',
1027
+ },
1028
+ nest_metadata: {
1029
+ properties: {
1030
+ custom_name: { type: 'string' },
1031
+ device_name: { type: 'string' },
1032
+ nest_device_id: { type: 'string' },
1033
+ },
1034
+ required: [
1035
+ 'nest_device_id',
1036
+ 'device_name',
1037
+ 'custom_name',
1038
+ ],
1039
+ type: 'object',
1040
+ },
1041
+ noiseaware_metadata: {
1042
+ properties: {
1043
+ device_id: { type: 'string' },
1044
+ device_model: {
1045
+ enum: ['indoor', 'outdoor'],
1046
+ type: 'string',
896
1047
  },
897
- hubitat_metadata: {
898
- properties: {
899
- device_id: { type: 'string' },
900
- device_label: { type: 'string' },
901
- device_name: { type: 'string' },
902
- },
903
- required: [
904
- 'device_id',
905
- 'device_name',
906
- 'device_label',
907
- ],
908
- type: 'object',
1048
+ device_name: { type: 'string' },
1049
+ noise_level_decibel: { type: 'number' },
1050
+ noise_level_nrs: { type: 'number' },
1051
+ },
1052
+ required: [
1053
+ 'device_model',
1054
+ 'noise_level_nrs',
1055
+ 'noise_level_decibel',
1056
+ 'device_name',
1057
+ 'device_id',
1058
+ ],
1059
+ type: 'object',
1060
+ },
1061
+ nuki_metadata: {
1062
+ properties: {
1063
+ device_id: { type: 'string' },
1064
+ device_name: { type: 'string' },
1065
+ keypad_battery_critical: { type: 'boolean' },
1066
+ },
1067
+ required: ['device_id', 'device_name'],
1068
+ type: 'object',
1069
+ },
1070
+ salto_metadata: {
1071
+ properties: {
1072
+ battery_level: { type: 'string' },
1073
+ customer_reference: { type: 'string' },
1074
+ lock_id: { type: 'string' },
1075
+ lock_type: { type: 'string' },
1076
+ locked_state: { type: 'string' },
1077
+ model: { type: 'string' },
1078
+ },
1079
+ required: [
1080
+ 'lock_id',
1081
+ 'customer_reference',
1082
+ 'lock_type',
1083
+ 'battery_level',
1084
+ 'locked_state',
1085
+ ],
1086
+ type: 'object',
1087
+ },
1088
+ schlage_metadata: {
1089
+ properties: {
1090
+ access_code_length: { type: 'number' },
1091
+ device_id: { type: 'string' },
1092
+ device_name: { type: 'string' },
1093
+ model: { type: 'string' },
1094
+ },
1095
+ required: [
1096
+ 'device_id',
1097
+ 'device_name',
1098
+ 'access_code_length',
1099
+ ],
1100
+ type: 'object',
1101
+ },
1102
+ seam_bridge_metadata: {
1103
+ properties: {
1104
+ device_num: { type: 'number' },
1105
+ name: { type: 'string' },
1106
+ unlock_method: {
1107
+ enum: ['bridge', 'doorking'],
1108
+ type: 'string',
909
1109
  },
910
- igloo_metadata: {
911
- properties: {
912
- bridge_id: { type: 'string' },
913
- device_id: { type: 'string' },
914
- model: { type: 'string' },
1110
+ },
1111
+ required: ['device_num', 'name'],
1112
+ type: 'object',
1113
+ },
1114
+ smartthings_metadata: {
1115
+ properties: {
1116
+ device_id: { type: 'string' },
1117
+ device_name: { type: 'string' },
1118
+ location_id: { type: 'string' },
1119
+ model: { type: 'string' },
1120
+ },
1121
+ required: ['device_id', 'device_name'],
1122
+ type: 'object',
1123
+ },
1124
+ ttlock_metadata: {
1125
+ properties: {
1126
+ lock_alias: { type: 'string' },
1127
+ lock_id: { type: 'number' },
1128
+ },
1129
+ required: ['lock_id', 'lock_alias'],
1130
+ type: 'object',
1131
+ },
1132
+ two_n_metadata: {
1133
+ properties: {
1134
+ device_id: { type: 'number' },
1135
+ device_name: { type: 'string' },
1136
+ },
1137
+ required: ['device_id', 'device_name'],
1138
+ type: 'object',
1139
+ },
1140
+ wyze_metadata: {
1141
+ properties: {
1142
+ device_id: { type: 'string' },
1143
+ device_info_model: { type: 'string' },
1144
+ device_name: { type: 'string' },
1145
+ product_model: { type: 'string' },
1146
+ product_name: { type: 'string' },
1147
+ product_type: { type: 'string' },
1148
+ },
1149
+ required: [
1150
+ 'device_id',
1151
+ 'device_name',
1152
+ 'product_name',
1153
+ 'product_type',
1154
+ 'product_model',
1155
+ 'device_info_model',
1156
+ ],
1157
+ type: 'object',
1158
+ },
1159
+ },
1160
+ type: 'object',
1161
+ },
1162
+ ],
1163
+ },
1164
+ {
1165
+ allOf: [
1166
+ {
1167
+ properties: {
1168
+ _experimental_supported_code_from_access_codes_lengths: {
1169
+ items: { type: 'number' },
1170
+ type: 'array',
1171
+ },
1172
+ code_constraints: {
1173
+ items: {
1174
+ oneOf: [
1175
+ {
1176
+ properties: {
1177
+ constraint_type: {
1178
+ enum: [
1179
+ 'no_zeros',
1180
+ 'cannot_start_with_12',
1181
+ 'no_triple_consecutive_ints',
1182
+ 'cannot_specify_pin_code',
1183
+ 'pin_code_matches_existing_set',
1184
+ 'start_date_in_future',
1185
+ ],
1186
+ type: 'string',
1187
+ },
1188
+ },
1189
+ required: ['constraint_type'],
1190
+ type: 'object',
915
1191
  },
916
- required: ['device_id', 'bridge_id'],
917
- type: 'object',
918
- },
919
- igloohome_metadata: {
920
- properties: {
921
- bridge_id: { type: 'string' },
922
- bridge_name: { type: 'string' },
923
- device_id: { type: 'string' },
924
- device_name: { type: 'string' },
1192
+ {
1193
+ properties: {
1194
+ constraint_type: {
1195
+ enum: ['name_length'],
1196
+ type: 'string',
1197
+ },
1198
+ max_length: { type: 'number' },
1199
+ min_length: { type: 'number' },
1200
+ },
1201
+ required: ['constraint_type'],
1202
+ type: 'object',
925
1203
  },
926
- required: ['device_id', 'device_name'],
927
- type: 'object',
928
- },
929
- kwikset_metadata: {
1204
+ ],
1205
+ },
1206
+ type: 'array',
1207
+ },
1208
+ door_open: { type: 'boolean' },
1209
+ has_native_entry_events: { type: 'boolean' },
1210
+ keypad_battery: {
1211
+ properties: { level: { type: 'number' } },
1212
+ required: ['level'],
1213
+ type: 'object',
1214
+ },
1215
+ locked: { type: 'boolean' },
1216
+ max_active_codes_supported: { type: 'number' },
1217
+ supported_code_lengths: {
1218
+ items: { type: 'number' },
1219
+ type: 'array',
1220
+ },
1221
+ supports_backup_access_code_pool: { type: 'boolean' },
1222
+ },
1223
+ type: 'object',
1224
+ },
1225
+ {
1226
+ oneOf: [
1227
+ {
1228
+ properties: {
1229
+ active_climate_setting_schedule: {
930
1230
  properties: {
1231
+ automatic_cooling_enabled: { type: 'boolean' },
1232
+ automatic_heating_enabled: { type: 'boolean' },
1233
+ climate_setting_schedule_id: {
1234
+ format: 'uuid',
1235
+ type: 'string',
1236
+ },
1237
+ cooling_set_point_celsius: { type: 'number' },
1238
+ cooling_set_point_fahrenheit: { type: 'number' },
1239
+ created_at: {
1240
+ format: 'date-time',
1241
+ type: 'string',
1242
+ },
931
1243
  device_id: { type: 'string' },
932
- device_name: { type: 'string' },
933
- model_number: { type: 'string' },
1244
+ errors: {
1245
+ description:
1246
+ '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.',
1247
+ nullable: true,
1248
+ },
1249
+ heating_set_point_celsius: { type: 'number' },
1250
+ heating_set_point_fahrenheit: { type: 'number' },
1251
+ hvac_mode_setting: {
1252
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1253
+ type: 'string',
1254
+ },
1255
+ manual_override_allowed: { type: 'boolean' },
1256
+ name: { type: 'string' },
1257
+ schedule_ends_at: { type: 'string' },
1258
+ schedule_starts_at: { type: 'string' },
1259
+ schedule_type: {
1260
+ enum: ['time_bound'],
1261
+ type: 'string',
1262
+ },
934
1263
  },
935
1264
  required: [
1265
+ 'climate_setting_schedule_id',
1266
+ 'schedule_type',
936
1267
  'device_id',
937
- 'device_name',
938
- 'model_number',
1268
+ 'schedule_starts_at',
1269
+ 'schedule_ends_at',
1270
+ 'created_at',
939
1271
  ],
940
1272
  type: 'object',
941
1273
  },
942
- lockly_metadata: {
943
- properties: {
944
- device_id: { type: 'string' },
945
- device_name: { type: 'string' },
946
- model: { type: 'string' },
1274
+ available_hvac_mode_settings: {
1275
+ items: {
1276
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1277
+ type: 'string',
947
1278
  },
948
- required: ['device_id', 'device_name'],
949
- type: 'object',
1279
+ type: 'array',
950
1280
  },
951
- minut_metadata: {
1281
+ can_enable_automatic_cooling: { type: 'boolean' },
1282
+ can_enable_automatic_heating: { type: 'boolean' },
1283
+ current_climate_setting: {
952
1284
  properties: {
953
- device_id: { type: 'string' },
954
- device_name: { type: 'string' },
955
- latest_sensor_values: {
956
- properties: {
957
- accelerometer_z: {
958
- properties: {
959
- time: { type: 'string' },
960
- value: { type: 'number' },
961
- },
962
- required: ['time', 'value'],
963
- type: 'object',
964
- },
965
- humidity: {
966
- properties: {
967
- time: { type: 'string' },
968
- value: { type: 'number' },
969
- },
970
- required: ['time', 'value'],
971
- type: 'object',
972
- },
973
- pressure: {
974
- properties: {
975
- time: { type: 'string' },
976
- value: { type: 'number' },
977
- },
978
- required: ['time', 'value'],
979
- type: 'object',
980
- },
981
- sound: {
982
- properties: {
983
- time: { type: 'string' },
984
- value: { type: 'number' },
985
- },
986
- required: ['time', 'value'],
987
- type: 'object',
988
- },
989
- temperature: {
990
- properties: {
991
- time: { type: 'string' },
992
- value: { type: 'number' },
993
- },
994
- required: ['time', 'value'],
995
- type: 'object',
996
- },
997
- },
998
- required: [
999
- 'temperature',
1000
- 'sound',
1001
- 'humidity',
1002
- 'pressure',
1003
- 'accelerometer_z',
1004
- ],
1005
- type: 'object',
1285
+ automatic_cooling_enabled: { type: 'boolean' },
1286
+ automatic_heating_enabled: { type: 'boolean' },
1287
+ cooling_set_point_celsius: { type: 'number' },
1288
+ cooling_set_point_fahrenheit: { type: 'number' },
1289
+ heating_set_point_celsius: { type: 'number' },
1290
+ heating_set_point_fahrenheit: { type: 'number' },
1291
+ hvac_mode_setting: {
1292
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1293
+ type: 'string',
1006
1294
  },
1295
+ manual_override_allowed: { type: 'boolean' },
1007
1296
  },
1008
1297
  required: [
1009
- 'device_id',
1010
- 'device_name',
1011
- 'latest_sensor_values',
1298
+ 'automatic_heating_enabled',
1299
+ 'automatic_cooling_enabled',
1300
+ 'hvac_mode_setting',
1301
+ 'manual_override_allowed',
1012
1302
  ],
1013
1303
  type: 'object',
1014
1304
  },
1015
- nest_metadata: {
1305
+ default_climate_setting: {
1016
1306
  properties: {
1017
- custom_name: { type: 'string' },
1018
- device_name: { type: 'string' },
1019
- nest_device_id: { type: 'string' },
1020
- },
1021
- required: [
1022
- 'nest_device_id',
1023
- 'device_name',
1024
- 'custom_name',
1025
- ],
1026
- type: 'object',
1027
- },
1028
- noiseaware_metadata: {
1029
- properties: {
1030
- device_id: { type: 'string' },
1031
- device_model: {
1032
- enum: ['indoor', 'outdoor'],
1307
+ automatic_cooling_enabled: { type: 'boolean' },
1308
+ automatic_heating_enabled: { type: 'boolean' },
1309
+ cooling_set_point_celsius: { type: 'number' },
1310
+ cooling_set_point_fahrenheit: { type: 'number' },
1311
+ heating_set_point_celsius: { type: 'number' },
1312
+ heating_set_point_fahrenheit: { type: 'number' },
1313
+ hvac_mode_setting: {
1314
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1033
1315
  type: 'string',
1034
1316
  },
1035
- device_name: { type: 'string' },
1036
- noise_level_decibel: { type: 'number' },
1037
- noise_level_nrs: { type: 'number' },
1317
+ manual_override_allowed: { type: 'boolean' },
1038
1318
  },
1039
1319
  required: [
1040
- 'device_model',
1041
- 'noise_level_nrs',
1042
- 'noise_level_decibel',
1043
- 'device_name',
1044
- 'device_id',
1320
+ 'automatic_heating_enabled',
1321
+ 'automatic_cooling_enabled',
1322
+ 'hvac_mode_setting',
1323
+ 'manual_override_allowed',
1045
1324
  ],
1046
1325
  type: 'object',
1047
1326
  },
1048
- nuki_metadata: {
1049
- properties: {
1050
- device_id: { type: 'string' },
1051
- device_name: { type: 'string' },
1052
- keypad_battery_critical: { type: 'boolean' },
1053
- },
1054
- required: ['device_id', 'device_name'],
1055
- type: 'object',
1327
+ fan_mode_setting: {
1328
+ enum: ['auto', 'on'],
1329
+ type: 'string',
1330
+ },
1331
+ is_climate_setting_schedule_active: {
1332
+ type: 'boolean',
1333
+ },
1334
+ is_cooling: { type: 'boolean' },
1335
+ is_cooling_available: {
1336
+ enum: [true],
1337
+ type: 'boolean',
1056
1338
  },
1057
- salto_metadata: {
1339
+ is_fan_running: { type: 'boolean' },
1340
+ is_heating: { type: 'boolean' },
1341
+ is_heating_available: {
1342
+ enum: [true],
1343
+ type: 'boolean',
1344
+ },
1345
+ is_temporary_manual_override_active: {
1346
+ type: 'boolean',
1347
+ },
1348
+ max_cooling_set_point_celsius: { type: 'number' },
1349
+ max_cooling_set_point_fahrenheit: { type: 'number' },
1350
+ max_heating_set_point_celsius: { type: 'number' },
1351
+ max_heating_set_point_fahrenheit: { type: 'number' },
1352
+ min_cooling_set_point_celsius: { type: 'number' },
1353
+ min_cooling_set_point_fahrenheit: { type: 'number' },
1354
+ min_heating_cooling_delta_celsius: { type: 'number' },
1355
+ min_heating_cooling_delta_fahrenheit: {
1356
+ type: 'number',
1357
+ },
1358
+ min_heating_set_point_celsius: { type: 'number' },
1359
+ min_heating_set_point_fahrenheit: { type: 'number' },
1360
+ relative_humidity: {
1361
+ maximum: 1,
1362
+ minimum: 0,
1363
+ type: 'number',
1364
+ },
1365
+ temperature_celsius: { type: 'number' },
1366
+ temperature_fahrenheit: { type: 'number' },
1367
+ },
1368
+ type: 'object',
1369
+ },
1370
+ {
1371
+ properties: {
1372
+ active_climate_setting_schedule: {
1058
1373
  properties: {
1059
- battery_level: { type: 'string' },
1060
- customer_reference: { type: 'string' },
1061
- lock_id: { type: 'string' },
1062
- lock_type: { type: 'string' },
1063
- locked_state: { type: 'string' },
1064
- model: { type: 'string' },
1374
+ automatic_cooling_enabled: { type: 'boolean' },
1375
+ automatic_heating_enabled: { type: 'boolean' },
1376
+ climate_setting_schedule_id: {
1377
+ format: 'uuid',
1378
+ type: 'string',
1379
+ },
1380
+ cooling_set_point_celsius: { type: 'number' },
1381
+ cooling_set_point_fahrenheit: { type: 'number' },
1382
+ created_at: {
1383
+ format: 'date-time',
1384
+ type: 'string',
1385
+ },
1386
+ device_id: { type: 'string' },
1387
+ errors: {
1388
+ description:
1389
+ '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.',
1390
+ nullable: true,
1391
+ },
1392
+ heating_set_point_celsius: { type: 'number' },
1393
+ heating_set_point_fahrenheit: { type: 'number' },
1394
+ hvac_mode_setting: {
1395
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1396
+ type: 'string',
1397
+ },
1398
+ manual_override_allowed: { type: 'boolean' },
1399
+ name: { type: 'string' },
1400
+ schedule_ends_at: { type: 'string' },
1401
+ schedule_starts_at: { type: 'string' },
1402
+ schedule_type: {
1403
+ enum: ['time_bound'],
1404
+ type: 'string',
1405
+ },
1065
1406
  },
1066
1407
  required: [
1067
- 'lock_id',
1068
- 'customer_reference',
1069
- 'lock_type',
1070
- 'battery_level',
1071
- 'locked_state',
1408
+ 'climate_setting_schedule_id',
1409
+ 'schedule_type',
1410
+ 'device_id',
1411
+ 'schedule_starts_at',
1412
+ 'schedule_ends_at',
1413
+ 'created_at',
1072
1414
  ],
1073
1415
  type: 'object',
1074
1416
  },
1075
- schlage_metadata: {
1076
- properties: {
1077
- access_code_length: { type: 'number' },
1078
- device_id: { type: 'string' },
1079
- device_name: { type: 'string' },
1080
- model: { type: 'string' },
1417
+ available_hvac_mode_settings: {
1418
+ items: {
1419
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1420
+ type: 'string',
1081
1421
  },
1082
- required: [
1083
- 'device_id',
1084
- 'device_name',
1085
- 'access_code_length',
1086
- ],
1087
- type: 'object',
1422
+ type: 'array',
1088
1423
  },
1089
- seam_bridge_metadata: {
1424
+ can_enable_automatic_cooling: { type: 'boolean' },
1425
+ can_enable_automatic_heating: { type: 'boolean' },
1426
+ current_climate_setting: {
1090
1427
  properties: {
1091
- device_num: { type: 'number' },
1092
- name: { type: 'string' },
1093
- unlock_method: {
1094
- enum: ['bridge', 'doorking'],
1428
+ automatic_cooling_enabled: { type: 'boolean' },
1429
+ automatic_heating_enabled: { type: 'boolean' },
1430
+ cooling_set_point_celsius: { type: 'number' },
1431
+ cooling_set_point_fahrenheit: { type: 'number' },
1432
+ heating_set_point_celsius: { type: 'number' },
1433
+ heating_set_point_fahrenheit: { type: 'number' },
1434
+ hvac_mode_setting: {
1435
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1095
1436
  type: 'string',
1096
1437
  },
1438
+ manual_override_allowed: { type: 'boolean' },
1097
1439
  },
1098
- required: ['device_num', 'name'],
1440
+ required: [
1441
+ 'automatic_heating_enabled',
1442
+ 'automatic_cooling_enabled',
1443
+ 'hvac_mode_setting',
1444
+ 'manual_override_allowed',
1445
+ ],
1099
1446
  type: 'object',
1100
1447
  },
1101
- smartthings_metadata: {
1448
+ default_climate_setting: {
1102
1449
  properties: {
1103
- device_id: { type: 'string' },
1104
- device_name: { type: 'string' },
1105
- location_id: { type: 'string' },
1106
- model: { type: 'string' },
1450
+ automatic_cooling_enabled: { type: 'boolean' },
1451
+ automatic_heating_enabled: { type: 'boolean' },
1452
+ cooling_set_point_celsius: { type: 'number' },
1453
+ cooling_set_point_fahrenheit: { type: 'number' },
1454
+ heating_set_point_celsius: { type: 'number' },
1455
+ heating_set_point_fahrenheit: { type: 'number' },
1456
+ hvac_mode_setting: {
1457
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1458
+ type: 'string',
1459
+ },
1460
+ manual_override_allowed: { type: 'boolean' },
1107
1461
  },
1108
- required: ['device_id', 'device_name'],
1462
+ required: [
1463
+ 'automatic_heating_enabled',
1464
+ 'automatic_cooling_enabled',
1465
+ 'hvac_mode_setting',
1466
+ 'manual_override_allowed',
1467
+ ],
1109
1468
  type: 'object',
1110
1469
  },
1111
- ttlock_metadata: {
1112
- properties: {
1113
- lock_alias: { type: 'string' },
1114
- lock_id: { type: 'number' },
1115
- },
1116
- required: ['lock_id', 'lock_alias'],
1117
- type: 'object',
1470
+ fan_mode_setting: {
1471
+ enum: ['auto', 'on'],
1472
+ type: 'string',
1118
1473
  },
1119
- two_n_metadata: {
1120
- properties: {
1121
- device_id: { type: 'number' },
1122
- device_name: { type: 'string' },
1123
- },
1124
- required: ['device_id', 'device_name'],
1125
- type: 'object',
1474
+ is_climate_setting_schedule_active: {
1475
+ type: 'boolean',
1126
1476
  },
1127
- wyze_metadata: {
1128
- properties: {
1129
- device_id: { type: 'string' },
1130
- device_info_model: { type: 'string' },
1131
- device_name: { type: 'string' },
1132
- product_model: { type: 'string' },
1133
- product_name: { type: 'string' },
1134
- product_type: { type: 'string' },
1135
- },
1136
- required: [
1137
- 'device_id',
1138
- 'device_name',
1139
- 'product_name',
1140
- 'product_type',
1141
- 'product_model',
1142
- 'device_info_model',
1143
- ],
1144
- type: 'object',
1477
+ is_cooling: { type: 'boolean' },
1478
+ is_cooling_available: {
1479
+ enum: [false],
1480
+ type: 'boolean',
1145
1481
  },
1146
- },
1147
- type: 'object',
1148
- },
1149
- ],
1150
- },
1151
- {
1152
- allOf: [
1153
- {
1154
- properties: {
1155
- _experimental_supported_code_from_access_codes_lengths:
1156
- { items: { type: 'number' }, type: 'array' },
1157
- code_constraints: {
1158
- items: {
1159
- oneOf: [
1160
- {
1161
- properties: {
1162
- constraint_type: {
1163
- enum: [
1164
- 'no_zeros',
1165
- 'cannot_start_with_12',
1166
- 'no_triple_consecutive_ints',
1167
- 'cannot_specify_pin_code',
1168
- 'pin_code_matches_existing_set',
1169
- 'start_date_in_future',
1170
- ],
1171
- type: 'string',
1172
- },
1173
- },
1174
- required: ['constraint_type'],
1175
- type: 'object',
1176
- },
1177
- {
1178
- properties: {
1179
- constraint_type: {
1180
- enum: ['name_length'],
1181
- type: 'string',
1182
- },
1183
- max_length: { type: 'number' },
1184
- min_length: { type: 'number' },
1185
- },
1186
- required: ['constraint_type'],
1187
- type: 'object',
1188
- },
1189
- ],
1190
- },
1191
- type: 'array',
1482
+ is_fan_running: { type: 'boolean' },
1483
+ is_heating: { type: 'boolean' },
1484
+ is_heating_available: {
1485
+ enum: [true],
1486
+ type: 'boolean',
1192
1487
  },
1193
- door_open: { type: 'boolean' },
1194
- has_native_entry_events: { type: 'boolean' },
1195
- keypad_battery: {
1196
- properties: { level: { type: 'number' } },
1197
- required: ['level'],
1198
- type: 'object',
1488
+ is_temporary_manual_override_active: {
1489
+ type: 'boolean',
1199
1490
  },
1200
- locked: { type: 'boolean' },
1201
- max_active_codes_supported: { type: 'number' },
1202
- supported_code_lengths: {
1203
- items: { type: 'number' },
1204
- type: 'array',
1491
+ max_heating_set_point_celsius: { type: 'number' },
1492
+ max_heating_set_point_fahrenheit: { type: 'number' },
1493
+ min_heating_set_point_celsius: { type: 'number' },
1494
+ min_heating_set_point_fahrenheit: { type: 'number' },
1495
+ relative_humidity: {
1496
+ maximum: 1,
1497
+ minimum: 0,
1498
+ type: 'number',
1205
1499
  },
1206
- supports_backup_access_code_pool: { type: 'boolean' },
1500
+ temperature_celsius: { type: 'number' },
1501
+ temperature_fahrenheit: { type: 'number' },
1207
1502
  },
1208
1503
  type: 'object',
1209
1504
  },
1210
1505
  {
1211
- oneOf: [
1212
- {
1506
+ properties: {
1507
+ active_climate_setting_schedule: {
1213
1508
  properties: {
1214
- active_climate_setting_schedule: {
1215
- properties: {
1216
- automatic_cooling_enabled: {
1217
- type: 'boolean',
1218
- },
1219
- automatic_heating_enabled: {
1220
- type: 'boolean',
1221
- },
1222
- climate_setting_schedule_id: {
1223
- format: 'uuid',
1224
- type: 'string',
1225
- },
1226
- cooling_set_point_celsius: { type: 'number' },
1227
- cooling_set_point_fahrenheit: {
1228
- type: 'number',
1229
- },
1230
- created_at: {
1231
- format: 'date-time',
1232
- type: 'string',
1233
- },
1234
- device_id: { type: 'string' },
1235
- errors: {
1236
- description:
1237
- '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.',
1238
- nullable: true,
1239
- },
1240
- heating_set_point_celsius: { type: 'number' },
1241
- heating_set_point_fahrenheit: {
1242
- type: 'number',
1243
- },
1244
- hvac_mode_setting: {
1245
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1246
- type: 'string',
1247
- },
1248
- manual_override_allowed: { type: 'boolean' },
1249
- name: { type: 'string' },
1250
- schedule_ends_at: { type: 'string' },
1251
- schedule_starts_at: { type: 'string' },
1252
- schedule_type: {
1253
- enum: ['time_bound'],
1254
- type: 'string',
1255
- },
1256
- },
1257
- required: [
1258
- 'climate_setting_schedule_id',
1259
- 'schedule_type',
1260
- 'device_id',
1261
- 'schedule_starts_at',
1262
- 'schedule_ends_at',
1263
- 'created_at',
1264
- ],
1265
- type: 'object',
1266
- },
1267
- available_hvac_mode_settings: {
1268
- items: {
1269
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1270
- type: 'string',
1271
- },
1272
- type: 'array',
1273
- },
1274
- can_enable_automatic_cooling: { type: 'boolean' },
1275
- can_enable_automatic_heating: { type: 'boolean' },
1276
- current_climate_setting: {
1277
- properties: {
1278
- automatic_cooling_enabled: {
1279
- type: 'boolean',
1280
- },
1281
- automatic_heating_enabled: {
1282
- type: 'boolean',
1283
- },
1284
- cooling_set_point_celsius: { type: 'number' },
1285
- cooling_set_point_fahrenheit: {
1286
- type: 'number',
1287
- },
1288
- heating_set_point_celsius: { type: 'number' },
1289
- heating_set_point_fahrenheit: {
1290
- type: 'number',
1291
- },
1292
- hvac_mode_setting: {
1293
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1294
- type: 'string',
1295
- },
1296
- manual_override_allowed: { type: 'boolean' },
1297
- },
1298
- required: [
1299
- 'automatic_heating_enabled',
1300
- 'automatic_cooling_enabled',
1301
- 'hvac_mode_setting',
1302
- 'manual_override_allowed',
1303
- ],
1304
- type: 'object',
1305
- },
1306
- default_climate_setting: {
1307
- properties: {
1308
- automatic_cooling_enabled: {
1309
- type: 'boolean',
1310
- },
1311
- automatic_heating_enabled: {
1312
- type: 'boolean',
1313
- },
1314
- cooling_set_point_celsius: { type: 'number' },
1315
- cooling_set_point_fahrenheit: {
1316
- type: 'number',
1317
- },
1318
- heating_set_point_celsius: { type: 'number' },
1319
- heating_set_point_fahrenheit: {
1320
- type: 'number',
1321
- },
1322
- hvac_mode_setting: {
1323
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1324
- type: 'string',
1325
- },
1326
- manual_override_allowed: { type: 'boolean' },
1327
- },
1328
- required: [
1329
- 'automatic_heating_enabled',
1330
- 'automatic_cooling_enabled',
1331
- 'hvac_mode_setting',
1332
- 'manual_override_allowed',
1333
- ],
1334
- type: 'object',
1335
- },
1336
- fan_mode_setting: {
1337
- enum: ['auto', 'on'],
1509
+ automatic_cooling_enabled: { type: 'boolean' },
1510
+ automatic_heating_enabled: { type: 'boolean' },
1511
+ climate_setting_schedule_id: {
1512
+ format: 'uuid',
1338
1513
  type: 'string',
1339
1514
  },
1340
- is_climate_setting_schedule_active: {
1341
- type: 'boolean',
1342
- },
1343
- is_cooling: { type: 'boolean' },
1344
- is_cooling_available: {
1345
- enum: [true],
1346
- type: 'boolean',
1347
- },
1348
- is_fan_running: { type: 'boolean' },
1349
- is_heating: { type: 'boolean' },
1350
- is_heating_available: {
1351
- enum: [true],
1352
- type: 'boolean',
1353
- },
1354
- is_temporary_manual_override_active: {
1355
- type: 'boolean',
1356
- },
1357
- max_cooling_set_point_celsius: { type: 'number' },
1358
- max_cooling_set_point_fahrenheit: {
1359
- type: 'number',
1360
- },
1361
- max_heating_set_point_celsius: { type: 'number' },
1362
- max_heating_set_point_fahrenheit: {
1363
- type: 'number',
1364
- },
1365
- min_cooling_set_point_celsius: { type: 'number' },
1366
- min_cooling_set_point_fahrenheit: {
1367
- type: 'number',
1368
- },
1369
- min_heating_cooling_delta_celsius: {
1370
- type: 'number',
1515
+ cooling_set_point_celsius: { type: 'number' },
1516
+ cooling_set_point_fahrenheit: { type: 'number' },
1517
+ created_at: {
1518
+ format: 'date-time',
1519
+ type: 'string',
1371
1520
  },
1372
- min_heating_cooling_delta_fahrenheit: {
1373
- type: 'number',
1521
+ device_id: { type: 'string' },
1522
+ errors: {
1523
+ description:
1524
+ '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.',
1525
+ nullable: true,
1374
1526
  },
1375
- min_heating_set_point_celsius: { type: 'number' },
1376
- min_heating_set_point_fahrenheit: {
1377
- type: 'number',
1527
+ heating_set_point_celsius: { type: 'number' },
1528
+ heating_set_point_fahrenheit: { type: 'number' },
1529
+ hvac_mode_setting: {
1530
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1531
+ type: 'string',
1378
1532
  },
1379
- relative_humidity: {
1380
- maximum: 1,
1381
- minimum: 0,
1382
- type: 'number',
1533
+ manual_override_allowed: { type: 'boolean' },
1534
+ name: { type: 'string' },
1535
+ schedule_ends_at: { type: 'string' },
1536
+ schedule_starts_at: { type: 'string' },
1537
+ schedule_type: {
1538
+ enum: ['time_bound'],
1539
+ type: 'string',
1383
1540
  },
1384
- temperature_celsius: { type: 'number' },
1385
- temperature_fahrenheit: { type: 'number' },
1386
1541
  },
1542
+ required: [
1543
+ 'climate_setting_schedule_id',
1544
+ 'schedule_type',
1545
+ 'device_id',
1546
+ 'schedule_starts_at',
1547
+ 'schedule_ends_at',
1548
+ 'created_at',
1549
+ ],
1387
1550
  type: 'object',
1388
1551
  },
1389
- {
1552
+ available_hvac_mode_settings: {
1553
+ items: {
1554
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1555
+ type: 'string',
1556
+ },
1557
+ type: 'array',
1558
+ },
1559
+ can_enable_automatic_cooling: { type: 'boolean' },
1560
+ can_enable_automatic_heating: { type: 'boolean' },
1561
+ current_climate_setting: {
1390
1562
  properties: {
1391
- active_climate_setting_schedule: {
1392
- properties: {
1393
- automatic_cooling_enabled: {
1394
- type: 'boolean',
1395
- },
1396
- automatic_heating_enabled: {
1397
- type: 'boolean',
1398
- },
1399
- climate_setting_schedule_id: {
1400
- format: 'uuid',
1401
- type: 'string',
1402
- },
1403
- cooling_set_point_celsius: { type: 'number' },
1404
- cooling_set_point_fahrenheit: {
1405
- type: 'number',
1406
- },
1407
- created_at: {
1408
- format: 'date-time',
1409
- type: 'string',
1410
- },
1411
- device_id: { type: 'string' },
1412
- errors: {
1413
- description:
1414
- '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.',
1415
- nullable: true,
1416
- },
1417
- heating_set_point_celsius: { type: 'number' },
1418
- heating_set_point_fahrenheit: {
1419
- type: 'number',
1420
- },
1421
- hvac_mode_setting: {
1422
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1423
- type: 'string',
1424
- },
1425
- manual_override_allowed: { type: 'boolean' },
1426
- name: { type: 'string' },
1427
- schedule_ends_at: { type: 'string' },
1428
- schedule_starts_at: { type: 'string' },
1429
- schedule_type: {
1430
- enum: ['time_bound'],
1431
- type: 'string',
1432
- },
1433
- },
1434
- required: [
1435
- 'climate_setting_schedule_id',
1436
- 'schedule_type',
1437
- 'device_id',
1438
- 'schedule_starts_at',
1439
- 'schedule_ends_at',
1440
- 'created_at',
1441
- ],
1442
- type: 'object',
1443
- },
1444
- available_hvac_mode_settings: {
1445
- items: {
1446
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1447
- type: 'string',
1448
- },
1449
- type: 'array',
1450
- },
1451
- can_enable_automatic_cooling: { type: 'boolean' },
1452
- can_enable_automatic_heating: { type: 'boolean' },
1453
- current_climate_setting: {
1454
- properties: {
1455
- automatic_cooling_enabled: {
1456
- type: 'boolean',
1457
- },
1458
- automatic_heating_enabled: {
1459
- type: 'boolean',
1460
- },
1461
- cooling_set_point_celsius: { type: 'number' },
1462
- cooling_set_point_fahrenheit: {
1463
- type: 'number',
1464
- },
1465
- heating_set_point_celsius: { type: 'number' },
1466
- heating_set_point_fahrenheit: {
1467
- type: 'number',
1468
- },
1469
- hvac_mode_setting: {
1470
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1471
- type: 'string',
1472
- },
1473
- manual_override_allowed: { type: 'boolean' },
1474
- },
1475
- required: [
1476
- 'automatic_heating_enabled',
1477
- 'automatic_cooling_enabled',
1478
- 'hvac_mode_setting',
1479
- 'manual_override_allowed',
1480
- ],
1481
- type: 'object',
1482
- },
1483
- default_climate_setting: {
1484
- properties: {
1485
- automatic_cooling_enabled: {
1486
- type: 'boolean',
1487
- },
1488
- automatic_heating_enabled: {
1489
- type: 'boolean',
1490
- },
1491
- cooling_set_point_celsius: { type: 'number' },
1492
- cooling_set_point_fahrenheit: {
1493
- type: 'number',
1494
- },
1495
- heating_set_point_celsius: { type: 'number' },
1496
- heating_set_point_fahrenheit: {
1497
- type: 'number',
1498
- },
1499
- hvac_mode_setting: {
1500
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1501
- type: 'string',
1502
- },
1503
- manual_override_allowed: { type: 'boolean' },
1504
- },
1505
- required: [
1506
- 'automatic_heating_enabled',
1507
- 'automatic_cooling_enabled',
1508
- 'hvac_mode_setting',
1509
- 'manual_override_allowed',
1510
- ],
1511
- type: 'object',
1512
- },
1513
- fan_mode_setting: {
1514
- enum: ['auto', 'on'],
1563
+ automatic_cooling_enabled: { type: 'boolean' },
1564
+ automatic_heating_enabled: { type: 'boolean' },
1565
+ cooling_set_point_celsius: { type: 'number' },
1566
+ cooling_set_point_fahrenheit: { type: 'number' },
1567
+ heating_set_point_celsius: { type: 'number' },
1568
+ heating_set_point_fahrenheit: { type: 'number' },
1569
+ hvac_mode_setting: {
1570
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1515
1571
  type: 'string',
1516
1572
  },
1517
- is_climate_setting_schedule_active: {
1518
- type: 'boolean',
1519
- },
1520
- is_cooling: { type: 'boolean' },
1521
- is_cooling_available: {
1522
- enum: [false],
1523
- type: 'boolean',
1524
- },
1525
- is_fan_running: { type: 'boolean' },
1526
- is_heating: { type: 'boolean' },
1527
- is_heating_available: {
1528
- enum: [true],
1529
- type: 'boolean',
1530
- },
1531
- is_temporary_manual_override_active: {
1532
- type: 'boolean',
1533
- },
1534
- max_heating_set_point_celsius: { type: 'number' },
1535
- max_heating_set_point_fahrenheit: {
1536
- type: 'number',
1537
- },
1538
- min_heating_set_point_celsius: { type: 'number' },
1539
- min_heating_set_point_fahrenheit: {
1540
- type: 'number',
1541
- },
1542
- relative_humidity: {
1543
- maximum: 1,
1544
- minimum: 0,
1545
- type: 'number',
1546
- },
1547
- temperature_celsius: { type: 'number' },
1548
- temperature_fahrenheit: { type: 'number' },
1573
+ manual_override_allowed: { type: 'boolean' },
1549
1574
  },
1575
+ required: [
1576
+ 'automatic_heating_enabled',
1577
+ 'automatic_cooling_enabled',
1578
+ 'hvac_mode_setting',
1579
+ 'manual_override_allowed',
1580
+ ],
1550
1581
  type: 'object',
1551
1582
  },
1552
- {
1583
+ default_climate_setting: {
1553
1584
  properties: {
1554
- active_climate_setting_schedule: {
1555
- properties: {
1556
- automatic_cooling_enabled: {
1557
- type: 'boolean',
1558
- },
1559
- automatic_heating_enabled: {
1560
- type: 'boolean',
1561
- },
1562
- climate_setting_schedule_id: {
1563
- format: 'uuid',
1564
- type: 'string',
1565
- },
1566
- cooling_set_point_celsius: { type: 'number' },
1567
- cooling_set_point_fahrenheit: {
1568
- type: 'number',
1569
- },
1570
- created_at: {
1571
- format: 'date-time',
1572
- type: 'string',
1573
- },
1574
- device_id: { type: 'string' },
1575
- errors: {
1576
- description:
1577
- '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.',
1578
- nullable: true,
1579
- },
1580
- heating_set_point_celsius: { type: 'number' },
1581
- heating_set_point_fahrenheit: {
1582
- type: 'number',
1583
- },
1584
- hvac_mode_setting: {
1585
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1586
- type: 'string',
1587
- },
1588
- manual_override_allowed: { type: 'boolean' },
1589
- name: { type: 'string' },
1590
- schedule_ends_at: { type: 'string' },
1591
- schedule_starts_at: { type: 'string' },
1592
- schedule_type: {
1593
- enum: ['time_bound'],
1594
- type: 'string',
1595
- },
1596
- },
1597
- required: [
1598
- 'climate_setting_schedule_id',
1599
- 'schedule_type',
1600
- 'device_id',
1601
- 'schedule_starts_at',
1602
- 'schedule_ends_at',
1603
- 'created_at',
1604
- ],
1605
- type: 'object',
1606
- },
1607
- available_hvac_mode_settings: {
1608
- items: {
1609
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1610
- type: 'string',
1611
- },
1612
- type: 'array',
1613
- },
1614
- can_enable_automatic_cooling: { type: 'boolean' },
1615
- can_enable_automatic_heating: { type: 'boolean' },
1616
- current_climate_setting: {
1617
- properties: {
1618
- automatic_cooling_enabled: {
1619
- type: 'boolean',
1620
- },
1621
- automatic_heating_enabled: {
1622
- type: 'boolean',
1623
- },
1624
- cooling_set_point_celsius: { type: 'number' },
1625
- cooling_set_point_fahrenheit: {
1626
- type: 'number',
1627
- },
1628
- heating_set_point_celsius: { type: 'number' },
1629
- heating_set_point_fahrenheit: {
1630
- type: 'number',
1631
- },
1632
- hvac_mode_setting: {
1633
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1634
- type: 'string',
1635
- },
1636
- manual_override_allowed: { type: 'boolean' },
1637
- },
1638
- required: [
1639
- 'automatic_heating_enabled',
1640
- 'automatic_cooling_enabled',
1641
- 'hvac_mode_setting',
1642
- 'manual_override_allowed',
1643
- ],
1644
- type: 'object',
1645
- },
1646
- default_climate_setting: {
1647
- properties: {
1648
- automatic_cooling_enabled: {
1649
- type: 'boolean',
1650
- },
1651
- automatic_heating_enabled: {
1652
- type: 'boolean',
1653
- },
1654
- cooling_set_point_celsius: { type: 'number' },
1655
- cooling_set_point_fahrenheit: {
1656
- type: 'number',
1657
- },
1658
- heating_set_point_celsius: { type: 'number' },
1659
- heating_set_point_fahrenheit: {
1660
- type: 'number',
1661
- },
1662
- hvac_mode_setting: {
1663
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1664
- type: 'string',
1665
- },
1666
- manual_override_allowed: { type: 'boolean' },
1667
- },
1668
- required: [
1669
- 'automatic_heating_enabled',
1670
- 'automatic_cooling_enabled',
1671
- 'hvac_mode_setting',
1672
- 'manual_override_allowed',
1673
- ],
1674
- type: 'object',
1675
- },
1676
- fan_mode_setting: {
1677
- enum: ['auto', 'on'],
1585
+ automatic_cooling_enabled: { type: 'boolean' },
1586
+ automatic_heating_enabled: { type: 'boolean' },
1587
+ cooling_set_point_celsius: { type: 'number' },
1588
+ cooling_set_point_fahrenheit: { type: 'number' },
1589
+ heating_set_point_celsius: { type: 'number' },
1590
+ heating_set_point_fahrenheit: { type: 'number' },
1591
+ hvac_mode_setting: {
1592
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1678
1593
  type: 'string',
1679
1594
  },
1680
- is_climate_setting_schedule_active: {
1681
- type: 'boolean',
1682
- },
1683
- is_cooling: { type: 'boolean' },
1684
- is_cooling_available: {
1685
- enum: [true],
1686
- type: 'boolean',
1687
- },
1688
- is_fan_running: { type: 'boolean' },
1689
- is_heating: { type: 'boolean' },
1690
- is_heating_available: {
1691
- enum: [false],
1692
- type: 'boolean',
1693
- },
1694
- is_temporary_manual_override_active: {
1695
- type: 'boolean',
1696
- },
1697
- max_cooling_set_point_celsius: { type: 'number' },
1698
- max_cooling_set_point_fahrenheit: {
1699
- type: 'number',
1700
- },
1701
- min_cooling_set_point_celsius: { type: 'number' },
1702
- min_cooling_set_point_fahrenheit: {
1703
- type: 'number',
1704
- },
1705
- relative_humidity: {
1706
- maximum: 1,
1707
- minimum: 0,
1708
- type: 'number',
1709
- },
1710
- temperature_celsius: { type: 'number' },
1711
- temperature_fahrenheit: { type: 'number' },
1595
+ manual_override_allowed: { type: 'boolean' },
1712
1596
  },
1597
+ required: [
1598
+ 'automatic_heating_enabled',
1599
+ 'automatic_cooling_enabled',
1600
+ 'hvac_mode_setting',
1601
+ 'manual_override_allowed',
1602
+ ],
1713
1603
  type: 'object',
1714
1604
  },
1715
- ],
1716
- },
1717
- ],
1718
- },
1719
- ],
1720
- },
1721
- {
1722
- properties: {
1723
- properties: {
1724
- properties: {
1725
- assa_abloy_credential_service_metadata: {
1726
- properties: {
1727
- endpoints: {
1728
- items: {
1729
- properties: {
1730
- endpoint_id: { type: 'string' },
1731
- is_active: { type: 'boolean' },
1732
- },
1733
- required: ['endpoint_id', 'is_active'],
1734
- type: 'object',
1735
- },
1736
- type: 'array',
1605
+ fan_mode_setting: {
1606
+ enum: ['auto', 'on'],
1607
+ type: 'string',
1608
+ },
1609
+ is_climate_setting_schedule_active: {
1610
+ type: 'boolean',
1737
1611
  },
1738
- has_active_endpoint: { type: 'boolean' },
1612
+ is_cooling: { type: 'boolean' },
1613
+ is_cooling_available: {
1614
+ enum: [true],
1615
+ type: 'boolean',
1616
+ },
1617
+ is_fan_running: { type: 'boolean' },
1618
+ is_heating: { type: 'boolean' },
1619
+ is_heating_available: {
1620
+ enum: [false],
1621
+ type: 'boolean',
1622
+ },
1623
+ is_temporary_manual_override_active: {
1624
+ type: 'boolean',
1625
+ },
1626
+ max_cooling_set_point_celsius: { type: 'number' },
1627
+ max_cooling_set_point_fahrenheit: { type: 'number' },
1628
+ min_cooling_set_point_celsius: { type: 'number' },
1629
+ min_cooling_set_point_fahrenheit: { type: 'number' },
1630
+ relative_humidity: {
1631
+ maximum: 1,
1632
+ minimum: 0,
1633
+ type: 'number',
1634
+ },
1635
+ temperature_celsius: { type: 'number' },
1636
+ temperature_fahrenheit: { type: 'number' },
1739
1637
  },
1740
- required: ['has_active_endpoint', 'endpoints'],
1741
1638
  type: 'object',
1742
1639
  },
1743
- },
1744
- type: 'object',
1640
+ ],
1745
1641
  },
1746
- },
1747
- type: 'object',
1642
+ ],
1748
1643
  },
1749
1644
  ],
1750
1645
  description: 'Properties of the device.',