@seamapi/types 1.1185.0 → 1.1187.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/lib/seam/connect/models/devices/capability-properties/index.d.ts +9 -9
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +9 -9
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +3 -3
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +33 -0
- package/lib/seam/connect/models/devices/device-metadata.js +31 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
- package/lib/seam/connect/models/devices/device-provider.js +2 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +7 -1
- package/lib/seam/connect/models/devices/device-type.js +8 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +223 -314
- package/lib/seam/connect/models/devices/device.js +60 -73
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +107 -172
- package/lib/seam/connect/openapi.js +229 -167
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1253 -896
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +3 -3
- package/src/lib/seam/connect/models/devices/device-metadata.ts +32 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +16 -0
- package/src/lib/seam/connect/models/devices/device.ts +63 -76
- package/src/lib/seam/connect/openapi.ts +259 -191
- package/src/lib/seam/connect/route-types.ts +1376 -902
|
@@ -15701,6 +15701,12 @@ const openapi: OpenAPISpec = {
|
|
|
15701
15701
|
description:
|
|
15702
15702
|
'Represents a [device](https://www.seam.co/docs/core-concepts/devices) that has been connected to Seam.',
|
|
15703
15703
|
properties: {
|
|
15704
|
+
air_quality_index: {
|
|
15705
|
+
description: 'Air quality index, if the device measures it.',
|
|
15706
|
+
format: 'float',
|
|
15707
|
+
type: 'number',
|
|
15708
|
+
'x-property-group-key': 'sensors',
|
|
15709
|
+
},
|
|
15704
15710
|
can_activate_weekly_program: {
|
|
15705
15711
|
description:
|
|
15706
15712
|
'Indicates whether the thermostat can be returned to its weekly program, the schedule that is configured on the device itself, releasing any hold that Seam has set.',
|
|
@@ -15872,6 +15878,20 @@ const openapi: OpenAPISpec = {
|
|
|
15872
15878
|
},
|
|
15873
15879
|
type: 'array',
|
|
15874
15880
|
},
|
|
15881
|
+
co2_ppm: {
|
|
15882
|
+
description:
|
|
15883
|
+
'Carbon dioxide concentration in parts per million, if the device measures it.',
|
|
15884
|
+
format: 'float',
|
|
15885
|
+
type: 'number',
|
|
15886
|
+
'x-property-group-key': 'sensors',
|
|
15887
|
+
},
|
|
15888
|
+
co_ppm: {
|
|
15889
|
+
description:
|
|
15890
|
+
'Carbon monoxide concentration in parts per million, if the device measures it.',
|
|
15891
|
+
format: 'float',
|
|
15892
|
+
type: 'number',
|
|
15893
|
+
'x-property-group-key': 'sensors',
|
|
15894
|
+
},
|
|
15875
15895
|
connected_account_id: {
|
|
15876
15896
|
description:
|
|
15877
15897
|
'Unique identifier for the account associated with the device.',
|
|
@@ -16041,6 +16061,11 @@ const openapi: OpenAPISpec = {
|
|
|
16041
16061
|
enum: ['sonos_speaker'],
|
|
16042
16062
|
type: 'string',
|
|
16043
16063
|
},
|
|
16064
|
+
{
|
|
16065
|
+
description: 'Device type for environmental sensors.',
|
|
16066
|
+
enum: ['alertify_sensor'],
|
|
16067
|
+
type: 'string',
|
|
16068
|
+
},
|
|
16044
16069
|
],
|
|
16045
16070
|
},
|
|
16046
16071
|
display_name: {
|
|
@@ -16618,6 +16643,18 @@ const openapi: OpenAPISpec = {
|
|
|
16618
16643
|
enum: [true],
|
|
16619
16644
|
type: 'boolean',
|
|
16620
16645
|
},
|
|
16646
|
+
is_occupied: {
|
|
16647
|
+
description:
|
|
16648
|
+
'Indicates whether the device detects that the space is occupied, if the device measures occupancy.',
|
|
16649
|
+
type: 'boolean',
|
|
16650
|
+
'x-property-group-key': 'sensors',
|
|
16651
|
+
},
|
|
16652
|
+
is_smoking_detected: {
|
|
16653
|
+
description:
|
|
16654
|
+
'Indicates whether the device detects smoking, if the device measures it.',
|
|
16655
|
+
type: 'boolean',
|
|
16656
|
+
'x-property-group-key': 'sensors',
|
|
16657
|
+
},
|
|
16621
16658
|
location: {
|
|
16622
16659
|
description: 'Location information for the device.',
|
|
16623
16660
|
properties: {
|
|
@@ -16644,11 +16681,147 @@ const openapi: OpenAPISpec = {
|
|
|
16644
16681
|
type: 'object',
|
|
16645
16682
|
'x-property-group-key': 'hardware',
|
|
16646
16683
|
},
|
|
16684
|
+
mold_risk_level: {
|
|
16685
|
+
description:
|
|
16686
|
+
'Mold risk level as reported by the device, if the device measures it.',
|
|
16687
|
+
type: 'string',
|
|
16688
|
+
'x-property-group-key': 'sensors',
|
|
16689
|
+
},
|
|
16690
|
+
named_sensors: {
|
|
16691
|
+
description:
|
|
16692
|
+
'Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor.',
|
|
16693
|
+
items: {
|
|
16694
|
+
description:
|
|
16695
|
+
'A sensor on the device, with the same measurement fields as the device.',
|
|
16696
|
+
properties: {
|
|
16697
|
+
air_quality_index: {
|
|
16698
|
+
description: 'Air quality index, if the device measures it.',
|
|
16699
|
+
format: 'float',
|
|
16700
|
+
type: 'number',
|
|
16701
|
+
'x-property-group-key': 'sensors',
|
|
16702
|
+
},
|
|
16703
|
+
co2_ppm: {
|
|
16704
|
+
description:
|
|
16705
|
+
'Carbon dioxide concentration in parts per million, if the device measures it.',
|
|
16706
|
+
format: 'float',
|
|
16707
|
+
type: 'number',
|
|
16708
|
+
'x-property-group-key': 'sensors',
|
|
16709
|
+
},
|
|
16710
|
+
co_ppm: {
|
|
16711
|
+
description:
|
|
16712
|
+
'Carbon monoxide concentration in parts per million, if the device measures it.',
|
|
16713
|
+
format: 'float',
|
|
16714
|
+
type: 'number',
|
|
16715
|
+
'x-property-group-key': 'sensors',
|
|
16716
|
+
},
|
|
16717
|
+
display_name: {
|
|
16718
|
+
description:
|
|
16719
|
+
'Display name of the sensor. Defaults to `sensor_name`.',
|
|
16720
|
+
type: 'string',
|
|
16721
|
+
'x-property-group-key': 'sensors',
|
|
16722
|
+
},
|
|
16723
|
+
is_occupied: {
|
|
16724
|
+
description:
|
|
16725
|
+
'Indicates whether the device detects that the space is occupied, if the device measures occupancy.',
|
|
16726
|
+
type: 'boolean',
|
|
16727
|
+
'x-property-group-key': 'sensors',
|
|
16728
|
+
},
|
|
16729
|
+
is_smoking_detected: {
|
|
16730
|
+
description:
|
|
16731
|
+
'Indicates whether the device detects smoking, if the device measures it.',
|
|
16732
|
+
type: 'boolean',
|
|
16733
|
+
'x-property-group-key': 'sensors',
|
|
16734
|
+
},
|
|
16735
|
+
mold_risk_level: {
|
|
16736
|
+
description:
|
|
16737
|
+
'Mold risk level as reported by the device, if the device measures it.',
|
|
16738
|
+
type: 'string',
|
|
16739
|
+
'x-property-group-key': 'sensors',
|
|
16740
|
+
},
|
|
16741
|
+
noise_level_decibels: {
|
|
16742
|
+
description:
|
|
16743
|
+
'Noise level in decibels, if the device measures noise.',
|
|
16744
|
+
format: 'float',
|
|
16745
|
+
type: 'number',
|
|
16746
|
+
'x-property-group-key': 'sensors',
|
|
16747
|
+
},
|
|
16748
|
+
noise_level_nrs: {
|
|
16749
|
+
description:
|
|
16750
|
+
'Noise level as a Noise Risk Score (NRS), if the device reports one.',
|
|
16751
|
+
format: 'float',
|
|
16752
|
+
type: 'number',
|
|
16753
|
+
'x-property-group-key': 'sensors',
|
|
16754
|
+
},
|
|
16755
|
+
occupant_count: {
|
|
16756
|
+
description:
|
|
16757
|
+
'Number of occupants the device detects, if the device counts occupants.',
|
|
16758
|
+
format: 'float',
|
|
16759
|
+
type: 'number',
|
|
16760
|
+
'x-property-group-key': 'sensors',
|
|
16761
|
+
},
|
|
16762
|
+
relative_humidity: {
|
|
16763
|
+
description:
|
|
16764
|
+
'Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity.',
|
|
16765
|
+
format: 'float',
|
|
16766
|
+
maximum: 1,
|
|
16767
|
+
minimum: 0,
|
|
16768
|
+
type: 'number',
|
|
16769
|
+
'x-property-group-key': 'sensors',
|
|
16770
|
+
},
|
|
16771
|
+
sensor_name: {
|
|
16772
|
+
description:
|
|
16773
|
+
'Stable, hardware-defined name of the sensor, such as a port number.',
|
|
16774
|
+
type: 'string',
|
|
16775
|
+
'x-property-group-key': 'sensors',
|
|
16776
|
+
},
|
|
16777
|
+
temperature_celsius: {
|
|
16778
|
+
description:
|
|
16779
|
+
'Temperature in °C, if the device measures temperature.',
|
|
16780
|
+
format: 'float',
|
|
16781
|
+
type: 'number',
|
|
16782
|
+
'x-property-group-key': 'sensors',
|
|
16783
|
+
},
|
|
16784
|
+
temperature_fahrenheit: {
|
|
16785
|
+
description:
|
|
16786
|
+
'Temperature in °F, if the device measures temperature.',
|
|
16787
|
+
format: 'float',
|
|
16788
|
+
type: 'number',
|
|
16789
|
+
'x-property-group-key': 'sensors',
|
|
16790
|
+
},
|
|
16791
|
+
},
|
|
16792
|
+
required: ['sensor_name', 'display_name'],
|
|
16793
|
+
type: 'object',
|
|
16794
|
+
'x-property-groups': { sensors: { name: 'Sensors' } },
|
|
16795
|
+
},
|
|
16796
|
+
type: 'array',
|
|
16797
|
+
'x-property-group-key': 'sensors',
|
|
16798
|
+
},
|
|
16647
16799
|
nickname: {
|
|
16648
16800
|
description:
|
|
16649
16801
|
'Optional nickname to describe the device, settable through Seam.',
|
|
16650
16802
|
type: 'string',
|
|
16651
16803
|
},
|
|
16804
|
+
noise_level_decibels: {
|
|
16805
|
+
description:
|
|
16806
|
+
'Noise level in decibels, if the device measures noise.',
|
|
16807
|
+
format: 'float',
|
|
16808
|
+
type: 'number',
|
|
16809
|
+
'x-property-group-key': 'sensors',
|
|
16810
|
+
},
|
|
16811
|
+
noise_level_nrs: {
|
|
16812
|
+
description:
|
|
16813
|
+
'Noise level as a Noise Risk Score (NRS), if the device reports one.',
|
|
16814
|
+
format: 'float',
|
|
16815
|
+
type: 'number',
|
|
16816
|
+
'x-property-group-key': 'sensors',
|
|
16817
|
+
},
|
|
16818
|
+
occupant_count: {
|
|
16819
|
+
description:
|
|
16820
|
+
'Number of occupants the device detects, if the device counts occupants.',
|
|
16821
|
+
format: 'float',
|
|
16822
|
+
type: 'number',
|
|
16823
|
+
'x-property-group-key': 'sensors',
|
|
16824
|
+
},
|
|
16652
16825
|
properties: {
|
|
16653
16826
|
allOf: [
|
|
16654
16827
|
{
|
|
@@ -16685,14 +16858,6 @@ const openapi: OpenAPISpec = {
|
|
|
16685
16858
|
type: 'object',
|
|
16686
16859
|
'x-property-group-key': 'hardware',
|
|
16687
16860
|
},
|
|
16688
|
-
air_quality_index: {
|
|
16689
|
-
description:
|
|
16690
|
-
'Air quality index, if the device measures it. `null` until the first value arrives.',
|
|
16691
|
-
format: 'float',
|
|
16692
|
-
nullable: true,
|
|
16693
|
-
type: 'number',
|
|
16694
|
-
'x-property-group-key': 'sensors',
|
|
16695
|
-
},
|
|
16696
16861
|
appearance: {
|
|
16697
16862
|
description:
|
|
16698
16863
|
'Appearance-related properties, as reported by the device.',
|
|
@@ -16739,22 +16904,6 @@ const openapi: OpenAPISpec = {
|
|
|
16739
16904
|
type: 'number',
|
|
16740
16905
|
'x-property-group-key': 'hardware',
|
|
16741
16906
|
},
|
|
16742
|
-
co2_ppm: {
|
|
16743
|
-
description:
|
|
16744
|
-
'Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives.',
|
|
16745
|
-
format: 'float',
|
|
16746
|
-
nullable: true,
|
|
16747
|
-
type: 'number',
|
|
16748
|
-
'x-property-group-key': 'sensors',
|
|
16749
|
-
},
|
|
16750
|
-
co_ppm: {
|
|
16751
|
-
description:
|
|
16752
|
-
'Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives.',
|
|
16753
|
-
format: 'float',
|
|
16754
|
-
nullable: true,
|
|
16755
|
-
type: 'number',
|
|
16756
|
-
'x-property-group-key': 'sensors',
|
|
16757
|
-
},
|
|
16758
16907
|
currently_triggering_noise_threshold_ids: {
|
|
16759
16908
|
description:
|
|
16760
16909
|
'Array of noise threshold IDs that are currently triggering.',
|
|
@@ -16779,20 +16928,6 @@ const openapi: OpenAPISpec = {
|
|
|
16779
16928
|
type: 'string',
|
|
16780
16929
|
'x-property-group-key': 'hardware',
|
|
16781
16930
|
},
|
|
16782
|
-
is_occupied: {
|
|
16783
|
-
description:
|
|
16784
|
-
'Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives.',
|
|
16785
|
-
nullable: true,
|
|
16786
|
-
type: 'boolean',
|
|
16787
|
-
'x-property-group-key': 'sensors',
|
|
16788
|
-
},
|
|
16789
|
-
is_smoking_detected: {
|
|
16790
|
-
description:
|
|
16791
|
-
'Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives.',
|
|
16792
|
-
nullable: true,
|
|
16793
|
-
type: 'boolean',
|
|
16794
|
-
'x-property-group-key': 'sensors',
|
|
16795
|
-
},
|
|
16796
16931
|
manufacturer: {
|
|
16797
16932
|
description:
|
|
16798
16933
|
'Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub.',
|
|
@@ -16847,167 +16982,19 @@ const openapi: OpenAPISpec = {
|
|
|
16847
16982
|
],
|
|
16848
16983
|
type: 'object',
|
|
16849
16984
|
},
|
|
16850
|
-
mold_risk_level: {
|
|
16851
|
-
description:
|
|
16852
|
-
'Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives.',
|
|
16853
|
-
nullable: true,
|
|
16854
|
-
type: 'string',
|
|
16855
|
-
'x-property-group-key': 'sensors',
|
|
16856
|
-
},
|
|
16857
16985
|
name: {
|
|
16858
16986
|
deprecated: true,
|
|
16859
16987
|
description: 'Name of the device.',
|
|
16860
16988
|
type: 'string',
|
|
16861
16989
|
'x-deprecated': 'use device.display_name instead',
|
|
16862
16990
|
},
|
|
16863
|
-
named_sensors: {
|
|
16864
|
-
description:
|
|
16865
|
-
'Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor.',
|
|
16866
|
-
items: {
|
|
16867
|
-
description:
|
|
16868
|
-
'A sensor on the device, with the same measurement fields as the device.',
|
|
16869
|
-
properties: {
|
|
16870
|
-
air_quality_index: {
|
|
16871
|
-
description:
|
|
16872
|
-
'Air quality index, if the device measures it. `null` until the first value arrives.',
|
|
16873
|
-
format: 'float',
|
|
16874
|
-
nullable: true,
|
|
16875
|
-
type: 'number',
|
|
16876
|
-
'x-property-group-key': 'sensors',
|
|
16877
|
-
},
|
|
16878
|
-
co2_ppm: {
|
|
16879
|
-
description:
|
|
16880
|
-
'Carbon dioxide concentration in parts per million, if the device measures it. `null` until the first value arrives.',
|
|
16881
|
-
format: 'float',
|
|
16882
|
-
nullable: true,
|
|
16883
|
-
type: 'number',
|
|
16884
|
-
'x-property-group-key': 'sensors',
|
|
16885
|
-
},
|
|
16886
|
-
co_ppm: {
|
|
16887
|
-
description:
|
|
16888
|
-
'Carbon monoxide concentration in parts per million, if the device measures it. `null` until the first value arrives.',
|
|
16889
|
-
format: 'float',
|
|
16890
|
-
nullable: true,
|
|
16891
|
-
type: 'number',
|
|
16892
|
-
'x-property-group-key': 'sensors',
|
|
16893
|
-
},
|
|
16894
|
-
display_name: {
|
|
16895
|
-
description:
|
|
16896
|
-
'Display name of the sensor. Defaults to `sensor_name`.',
|
|
16897
|
-
type: 'string',
|
|
16898
|
-
'x-property-group-key': 'sensors',
|
|
16899
|
-
},
|
|
16900
|
-
is_occupied: {
|
|
16901
|
-
description:
|
|
16902
|
-
'Indicates whether the device detects that the space is occupied, if the device measures occupancy. `null` until the first value arrives.',
|
|
16903
|
-
nullable: true,
|
|
16904
|
-
type: 'boolean',
|
|
16905
|
-
'x-property-group-key': 'sensors',
|
|
16906
|
-
},
|
|
16907
|
-
is_smoking_detected: {
|
|
16908
|
-
description:
|
|
16909
|
-
'Indicates whether the device detects smoking, if the device measures it. `null` until the first value arrives.',
|
|
16910
|
-
nullable: true,
|
|
16911
|
-
type: 'boolean',
|
|
16912
|
-
'x-property-group-key': 'sensors',
|
|
16913
|
-
},
|
|
16914
|
-
mold_risk_level: {
|
|
16915
|
-
description:
|
|
16916
|
-
'Mold risk level as reported by the device, if the device measures it. `null` until the first value arrives.',
|
|
16917
|
-
nullable: true,
|
|
16918
|
-
type: 'string',
|
|
16919
|
-
'x-property-group-key': 'sensors',
|
|
16920
|
-
},
|
|
16921
|
-
noise_level_decibels: {
|
|
16922
|
-
description:
|
|
16923
|
-
'Noise level in decibels. `null` until the first value arrives.',
|
|
16924
|
-
format: 'float',
|
|
16925
|
-
nullable: true,
|
|
16926
|
-
type: 'number',
|
|
16927
|
-
'x-property-group-key': 'sensors',
|
|
16928
|
-
},
|
|
16929
|
-
noise_level_nrs: {
|
|
16930
|
-
description:
|
|
16931
|
-
'Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives.',
|
|
16932
|
-
format: 'float',
|
|
16933
|
-
nullable: true,
|
|
16934
|
-
type: 'number',
|
|
16935
|
-
'x-property-group-key': 'sensors',
|
|
16936
|
-
},
|
|
16937
|
-
occupant_count: {
|
|
16938
|
-
description:
|
|
16939
|
-
'Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives.',
|
|
16940
|
-
format: 'float',
|
|
16941
|
-
nullable: true,
|
|
16942
|
-
type: 'number',
|
|
16943
|
-
'x-property-group-key': 'sensors',
|
|
16944
|
-
},
|
|
16945
|
-
relative_humidity: {
|
|
16946
|
-
description:
|
|
16947
|
-
'Reported relative humidity, as a value between 0 and 1, inclusive. `null` until the first value arrives.',
|
|
16948
|
-
format: 'float',
|
|
16949
|
-
maximum: 1,
|
|
16950
|
-
minimum: 0,
|
|
16951
|
-
nullable: true,
|
|
16952
|
-
type: 'number',
|
|
16953
|
-
'x-property-group-key': 'sensors',
|
|
16954
|
-
},
|
|
16955
|
-
sensor_name: {
|
|
16956
|
-
description:
|
|
16957
|
-
'Stable, hardware-defined name of the sensor, such as a port number.',
|
|
16958
|
-
type: 'string',
|
|
16959
|
-
'x-property-group-key': 'sensors',
|
|
16960
|
-
},
|
|
16961
|
-
temperature_celsius: {
|
|
16962
|
-
description:
|
|
16963
|
-
'Reported temperature in °C. `null` until the first value arrives.',
|
|
16964
|
-
format: 'float',
|
|
16965
|
-
nullable: true,
|
|
16966
|
-
type: 'number',
|
|
16967
|
-
'x-property-group-key': 'sensors',
|
|
16968
|
-
},
|
|
16969
|
-
temperature_fahrenheit: {
|
|
16970
|
-
description:
|
|
16971
|
-
'Reported temperature in °F. `null` until the first value arrives.',
|
|
16972
|
-
format: 'float',
|
|
16973
|
-
nullable: true,
|
|
16974
|
-
type: 'number',
|
|
16975
|
-
'x-property-group-key': 'sensors',
|
|
16976
|
-
},
|
|
16977
|
-
},
|
|
16978
|
-
required: ['sensor_name', 'display_name'],
|
|
16979
|
-
type: 'object',
|
|
16980
|
-
'x-property-groups': {
|
|
16981
|
-
sensors: { name: 'Sensors' },
|
|
16982
|
-
},
|
|
16983
|
-
},
|
|
16984
|
-
type: 'array',
|
|
16985
|
-
'x-property-group-key': 'sensors',
|
|
16986
|
-
},
|
|
16987
16991
|
noise_level_decibels: {
|
|
16988
16992
|
description:
|
|
16989
16993
|
'Indicates current noise level in decibels, if the device supports noise detection.',
|
|
16990
16994
|
format: 'float',
|
|
16991
|
-
nullable: true,
|
|
16992
16995
|
type: 'number',
|
|
16993
16996
|
'x-property-group-key': 'noise_sensors',
|
|
16994
16997
|
},
|
|
16995
|
-
noise_level_nrs: {
|
|
16996
|
-
description:
|
|
16997
|
-
'Noise level as a Noise Risk Score (NRS), if the device reports one. `null` until the first value arrives.',
|
|
16998
|
-
format: 'float',
|
|
16999
|
-
nullable: true,
|
|
17000
|
-
type: 'number',
|
|
17001
|
-
'x-property-group-key': 'sensors',
|
|
17002
|
-
},
|
|
17003
|
-
occupant_count: {
|
|
17004
|
-
description:
|
|
17005
|
-
'Number of occupants the device detects, if the device counts occupants. `null` until the first value arrives.',
|
|
17006
|
-
format: 'float',
|
|
17007
|
-
nullable: true,
|
|
17008
|
-
type: 'number',
|
|
17009
|
-
'x-property-group-key': 'sensors',
|
|
17010
|
-
},
|
|
17011
16998
|
offline_access_codes_enabled: {
|
|
17012
16999
|
deprecated: true,
|
|
17013
17000
|
description:
|
|
@@ -17127,6 +17114,38 @@ const openapi: OpenAPISpec = {
|
|
|
17127
17114
|
},
|
|
17128
17115
|
type: 'object',
|
|
17129
17116
|
},
|
|
17117
|
+
alertify_metadata: {
|
|
17118
|
+
description: 'Metadata for an Alertify sensor.',
|
|
17119
|
+
properties: {
|
|
17120
|
+
building_id: {
|
|
17121
|
+
description:
|
|
17122
|
+
'ID of the Alertify building that contains the unit.',
|
|
17123
|
+
nullable: true,
|
|
17124
|
+
type: 'string',
|
|
17125
|
+
},
|
|
17126
|
+
device_id: {
|
|
17127
|
+
description: 'Device ID reported by Alertify.',
|
|
17128
|
+
type: 'string',
|
|
17129
|
+
},
|
|
17130
|
+
device_name: {
|
|
17131
|
+
description:
|
|
17132
|
+
'Device name, as set in the Alertify dashboard.',
|
|
17133
|
+
type: 'string',
|
|
17134
|
+
},
|
|
17135
|
+
unit_id: {
|
|
17136
|
+
description:
|
|
17137
|
+
'ID of the Alertify unit where the device is installed.',
|
|
17138
|
+
type: 'string',
|
|
17139
|
+
},
|
|
17140
|
+
unit_name: {
|
|
17141
|
+
description:
|
|
17142
|
+
'Name of the Alertify unit where the device is installed.',
|
|
17143
|
+
type: 'string',
|
|
17144
|
+
},
|
|
17145
|
+
},
|
|
17146
|
+
type: 'object',
|
|
17147
|
+
'x-undocumented': 'Unreleased.',
|
|
17148
|
+
},
|
|
17130
17149
|
aqara_metadata: {
|
|
17131
17150
|
description: 'Metadata for an Aqara device.',
|
|
17132
17151
|
properties: {
|
|
@@ -19777,21 +19796,18 @@ const openapi: OpenAPISpec = {
|
|
|
19777
19796
|
format: 'float',
|
|
19778
19797
|
maximum: 1,
|
|
19779
19798
|
minimum: 0,
|
|
19780
|
-
nullable: true,
|
|
19781
19799
|
type: 'number',
|
|
19782
19800
|
'x-property-group-key': 'thermostats',
|
|
19783
19801
|
},
|
|
19784
19802
|
temperature_celsius: {
|
|
19785
19803
|
description: 'Reported temperature in °C.',
|
|
19786
19804
|
format: 'float',
|
|
19787
|
-
nullable: true,
|
|
19788
19805
|
type: 'number',
|
|
19789
19806
|
'x-property-group-key': 'thermostats',
|
|
19790
19807
|
},
|
|
19791
19808
|
temperature_fahrenheit: {
|
|
19792
19809
|
description: 'Reported temperature in °F.',
|
|
19793
19810
|
format: 'float',
|
|
19794
|
-
nullable: true,
|
|
19795
19811
|
type: 'number',
|
|
19796
19812
|
'x-property-group-key': 'thermostats',
|
|
19797
19813
|
},
|
|
@@ -20012,16 +20028,38 @@ const openapi: OpenAPISpec = {
|
|
|
20012
20028
|
noise_sensors: { name: 'Noise Sensors' },
|
|
20013
20029
|
phones: { name: 'Phones' },
|
|
20014
20030
|
provider_metadata: { name: 'Provider Metadata' },
|
|
20015
|
-
sensors: { name: 'Sensors' },
|
|
20016
20031
|
speakers: { name: 'Speakers' },
|
|
20017
20032
|
thermostats: { name: 'Thermostats' },
|
|
20018
20033
|
},
|
|
20019
20034
|
},
|
|
20035
|
+
relative_humidity: {
|
|
20036
|
+
description:
|
|
20037
|
+
'Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity.',
|
|
20038
|
+
format: 'float',
|
|
20039
|
+
maximum: 1,
|
|
20040
|
+
minimum: 0,
|
|
20041
|
+
type: 'number',
|
|
20042
|
+
'x-property-group-key': 'sensors',
|
|
20043
|
+
},
|
|
20020
20044
|
space_ids: {
|
|
20021
20045
|
description: 'IDs of the spaces the device is in.',
|
|
20022
20046
|
items: { format: 'uuid', type: 'string' },
|
|
20023
20047
|
type: 'array',
|
|
20024
20048
|
},
|
|
20049
|
+
temperature_celsius: {
|
|
20050
|
+
description:
|
|
20051
|
+
'Temperature in °C, if the device measures temperature.',
|
|
20052
|
+
format: 'float',
|
|
20053
|
+
type: 'number',
|
|
20054
|
+
'x-property-group-key': 'sensors',
|
|
20055
|
+
},
|
|
20056
|
+
temperature_fahrenheit: {
|
|
20057
|
+
description:
|
|
20058
|
+
'Temperature in °F, if the device measures temperature.',
|
|
20059
|
+
format: 'float',
|
|
20060
|
+
type: 'number',
|
|
20061
|
+
'x-property-group-key': 'sensors',
|
|
20062
|
+
},
|
|
20025
20063
|
warnings: {
|
|
20026
20064
|
description:
|
|
20027
20065
|
'Array of warnings associated with the device. Each warning object within the array contains two fields: `warning_code` and `message`. `warning_code` is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.',
|
|
@@ -20837,6 +20875,7 @@ const openapi: OpenAPISpec = {
|
|
|
20837
20875
|
noise_sensors: { name: 'Noise Sensors' },
|
|
20838
20876
|
phones: { name: 'Phones' },
|
|
20839
20877
|
provider_metadata: { name: 'Provider Metadata' },
|
|
20878
|
+
sensors: { name: 'Sensors' },
|
|
20840
20879
|
speakers: { name: 'Speakers' },
|
|
20841
20880
|
thermostats: { name: 'Thermostats' },
|
|
20842
20881
|
},
|
|
@@ -21064,6 +21103,7 @@ const openapi: OpenAPISpec = {
|
|
|
21064
21103
|
'reolink',
|
|
21065
21104
|
'unifi_protect',
|
|
21066
21105
|
'yale_connect',
|
|
21106
|
+
'alertify',
|
|
21067
21107
|
'ical',
|
|
21068
21108
|
'lodgify',
|
|
21069
21109
|
'hostaway',
|
|
@@ -41539,6 +41579,11 @@ const openapi: OpenAPISpec = {
|
|
|
41539
41579
|
enum: ['sonos_speaker'],
|
|
41540
41580
|
type: 'string',
|
|
41541
41581
|
},
|
|
41582
|
+
{
|
|
41583
|
+
description: 'Device type for environmental sensors.',
|
|
41584
|
+
enum: ['alertify_sensor'],
|
|
41585
|
+
type: 'string',
|
|
41586
|
+
},
|
|
41542
41587
|
],
|
|
41543
41588
|
},
|
|
41544
41589
|
display_name: {
|
|
@@ -52460,6 +52505,7 @@ const openapi: OpenAPISpec = {
|
|
|
52460
52505
|
'reolink',
|
|
52461
52506
|
'unifi_protect',
|
|
52462
52507
|
'yale_connect',
|
|
52508
|
+
'alertify',
|
|
52463
52509
|
'ical',
|
|
52464
52510
|
'lodgify',
|
|
52465
52511
|
'hostaway',
|
|
@@ -56446,6 +56492,11 @@ const openapi: OpenAPISpec = {
|
|
|
56446
56492
|
enum: ['sonos_speaker'],
|
|
56447
56493
|
type: 'string',
|
|
56448
56494
|
},
|
|
56495
|
+
{
|
|
56496
|
+
description: 'Device type for environmental sensors.',
|
|
56497
|
+
enum: ['alertify_sensor'],
|
|
56498
|
+
type: 'string',
|
|
56499
|
+
},
|
|
56449
56500
|
],
|
|
56450
56501
|
},
|
|
56451
56502
|
},
|
|
@@ -56541,6 +56592,11 @@ const openapi: OpenAPISpec = {
|
|
|
56541
56592
|
enum: ['sonos_speaker'],
|
|
56542
56593
|
type: 'string',
|
|
56543
56594
|
},
|
|
56595
|
+
{
|
|
56596
|
+
description: 'Device type for environmental sensors.',
|
|
56597
|
+
enum: ['alertify_sensor'],
|
|
56598
|
+
type: 'string',
|
|
56599
|
+
},
|
|
56544
56600
|
],
|
|
56545
56601
|
},
|
|
56546
56602
|
type: 'array',
|
|
@@ -56603,6 +56659,7 @@ const openapi: OpenAPISpec = {
|
|
|
56603
56659
|
'reolink',
|
|
56604
56660
|
'unifi_protect',
|
|
56605
56661
|
'yale_connect',
|
|
56662
|
+
'alertify',
|
|
56606
56663
|
'ical',
|
|
56607
56664
|
'lodgify',
|
|
56608
56665
|
'hostaway',
|
|
@@ -58804,6 +58861,11 @@ const openapi: OpenAPISpec = {
|
|
|
58804
58861
|
enum: ['sonos_speaker'],
|
|
58805
58862
|
type: 'string',
|
|
58806
58863
|
},
|
|
58864
|
+
{
|
|
58865
|
+
description: 'Device type for environmental sensors.',
|
|
58866
|
+
enum: ['alertify_sensor'],
|
|
58867
|
+
type: 'string',
|
|
58868
|
+
},
|
|
58807
58869
|
],
|
|
58808
58870
|
},
|
|
58809
58871
|
},
|
|
@@ -58899,6 +58961,11 @@ const openapi: OpenAPISpec = {
|
|
|
58899
58961
|
enum: ['sonos_speaker'],
|
|
58900
58962
|
type: 'string',
|
|
58901
58963
|
},
|
|
58964
|
+
{
|
|
58965
|
+
description: 'Device type for environmental sensors.',
|
|
58966
|
+
enum: ['alertify_sensor'],
|
|
58967
|
+
type: 'string',
|
|
58968
|
+
},
|
|
58902
58969
|
],
|
|
58903
58970
|
},
|
|
58904
58971
|
type: 'array',
|
|
@@ -58961,6 +59028,7 @@ const openapi: OpenAPISpec = {
|
|
|
58961
59028
|
'reolink',
|
|
58962
59029
|
'unifi_protect',
|
|
58963
59030
|
'yale_connect',
|
|
59031
|
+
'alertify',
|
|
58964
59032
|
'ical',
|
|
58965
59033
|
'lodgify',
|
|
58966
59034
|
'hostaway',
|
|
@@ -60853,7 +60921,7 @@ const openapi: OpenAPISpec = {
|
|
|
60853
60921
|
schema: {
|
|
60854
60922
|
description:
|
|
60855
60923
|
'Manufacturers of the noise sensors that you want to list.',
|
|
60856
|
-
enum: ['minut', 'noiseaware'],
|
|
60924
|
+
enum: ['minut', 'noiseaware', 'alertify'],
|
|
60857
60925
|
type: 'string',
|
|
60858
60926
|
},
|
|
60859
60927
|
},
|