matterbridge 1.5.1 → 1.5.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.
- package/CHANGELOG.md +34 -0
- package/{README-ADVANCED.md → README-DOCKER.md} +1 -82
- package/README-SERVICE.md +96 -0
- package/README.md +54 -17
- package/dist/cluster/AirQualityCluster.d.ts +1 -1
- package/dist/cluster/AirQualityCluster.d.ts.map +1 -1
- package/dist/cluster/CarbonDioxideConcentrationMeasurementCluster.d.ts +11 -11
- package/dist/cluster/CarbonDioxideConcentrationMeasurementCluster.d.ts.map +1 -1
- package/dist/cluster/CarbonMonoxideConcentrationMeasurementCluster.d.ts +11 -11
- package/dist/cluster/CarbonMonoxideConcentrationMeasurementCluster.d.ts.map +1 -1
- package/dist/cluster/ConcentrationMeasurementCluster.d.ts +10 -10
- package/dist/cluster/DeviceEnergyManagementCluster.d.ts +16 -16
- package/dist/cluster/DeviceEnergyManagementCluster.d.ts.map +1 -1
- package/dist/cluster/DeviceEnergyManagementModeCluster.d.ts +3 -3
- package/dist/cluster/DeviceEnergyManagementModeCluster.d.ts.map +1 -1
- package/dist/cluster/ElectricalEnergyMeasurementCluster.d.ts +8 -8
- package/dist/cluster/ElectricalEnergyMeasurementCluster.d.ts.map +1 -1
- package/dist/cluster/ElectricalPowerMeasurementCluster.d.ts +13 -13
- package/dist/cluster/ElectricalPowerMeasurementCluster.d.ts.map +1 -1
- package/dist/cluster/FormaldehydeConcentrationMeasurementCluster.d.ts +11 -11
- package/dist/cluster/FormaldehydeConcentrationMeasurementCluster.d.ts.map +1 -1
- package/dist/cluster/NitrogenDioxideConcentrationMeasurementCluster.d.ts +11 -11
- package/dist/cluster/NitrogenDioxideConcentrationMeasurementCluster.d.ts.map +1 -1
- package/dist/cluster/OzoneConcentrationMeasurementCluster.d.ts +11 -11
- package/dist/cluster/OzoneConcentrationMeasurementCluster.d.ts.map +1 -1
- package/dist/cluster/Pm10ConcentrationMeasurementCluster.d.ts +11 -11
- package/dist/cluster/Pm10ConcentrationMeasurementCluster.d.ts.map +1 -1
- package/dist/cluster/Pm1ConcentrationMeasurementCluster.d.ts +11 -11
- package/dist/cluster/Pm1ConcentrationMeasurementCluster.d.ts.map +1 -1
- package/dist/cluster/Pm25ConcentrationMeasurementCluster.d.ts +11 -11
- package/dist/cluster/Pm25ConcentrationMeasurementCluster.d.ts.map +1 -1
- package/dist/cluster/PowerTopologyCluster.d.ts +7 -7
- package/dist/cluster/PowerTopologyCluster.d.ts.map +1 -1
- package/dist/cluster/RadonConcentrationMeasurementCluster.d.ts +11 -11
- package/dist/cluster/RadonConcentrationMeasurementCluster.d.ts.map +1 -1
- package/dist/cluster/ScenesCluster.d.ts +1249 -0
- package/dist/cluster/ScenesCluster.d.ts.map +1 -0
- package/dist/cluster/ScenesCluster.js +436 -0
- package/dist/cluster/ScenesCluster.js.map +1 -0
- package/dist/cluster/SmokeCoAlarmCluster.d.ts +9 -9
- package/dist/cluster/SmokeCoAlarmCluster.d.ts.map +1 -1
- package/dist/cluster/TvocCluster.d.ts +1 -1
- package/dist/cluster/TvocCluster.d.ts.map +1 -1
- package/dist/cluster/export.d.ts +0 -1
- package/dist/cluster/export.d.ts.map +1 -1
- package/dist/cluster/export.js +0 -1
- package/dist/cluster/export.js.map +1 -1
- package/dist/index.d.ts +3 -25
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -32
- package/dist/index.js.map +1 -1
- package/dist/matterbridge.d.ts +5 -3
- package/dist/matterbridge.d.ts.map +1 -1
- package/dist/matterbridge.js +152 -30
- package/dist/matterbridge.js.map +1 -1
- package/dist/matterbridgeDevice.d.ts +4684 -2288
- package/dist/matterbridgeDevice.d.ts.map +1 -1
- package/dist/matterbridgeDevice.js +146 -545
- package/dist/matterbridgeDevice.js.map +1 -1
- package/dist/matterbridgeTypes.d.ts +5 -0
- package/dist/matterbridgeTypes.d.ts.map +1 -1
- package/dist/pluginManager.d.ts.map +1 -1
- package/dist/pluginManager.js +16 -0
- package/dist/pluginManager.js.map +1 -1
- package/dist/utils/utils.d.ts +0 -5
- package/dist/utils/utils.d.ts.map +1 -1
- package/dist/utils/utils.js +5 -12
- package/dist/utils/utils.js.map +1 -1
- package/frontend/build/asset-manifest.json +6 -6
- package/frontend/build/index.html +1 -1
- package/frontend/build/static/css/main.1cf003ae.css +2 -0
- package/frontend/build/static/css/main.1cf003ae.css.map +1 -0
- package/frontend/build/static/js/main.6725e5ab.js +3 -0
- package/frontend/build/static/js/main.6725e5ab.js.map +1 -0
- package/package.json +19 -15
- package/dist/cluster/BooleanStateConfigurationCluster.d.ts +0 -2200
- package/dist/cluster/BooleanStateConfigurationCluster.d.ts.map +0 -1
- package/dist/cluster/BooleanStateConfigurationCluster.js +0 -388
- package/dist/cluster/BooleanStateConfigurationCluster.js.map +0 -1
- package/dist/cluster/BridgedDeviceBasicInformationCluster.d.ts +0 -223
- package/dist/cluster/BridgedDeviceBasicInformationCluster.d.ts.map +0 -1
- package/dist/cluster/BridgedDeviceBasicInformationCluster.js +0 -177
- package/dist/cluster/BridgedDeviceBasicInformationCluster.js.map +0 -1
- package/dist/cluster/FanControlCluster.d.ts +0 -1583
- package/dist/cluster/FanControlCluster.d.ts.map +0 -1
- package/dist/cluster/FanControlCluster.js +0 -492
- package/dist/cluster/FanControlCluster.js.map +0 -1
- package/frontend/build/static/css/main.ee3183e2.css +0 -2
- package/frontend/build/static/css/main.ee3183e2.css.map +0 -1
- package/frontend/build/static/js/main.4c5271fd.js +0 -3
- package/frontend/build/static/js/main.4c5271fd.js.map +0 -1
- /package/frontend/build/static/js/{main.4c5271fd.js.LICENSE.txt → main.6725e5ab.js.LICENSE.txt} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BooleanStateConfigurationCluster.d.ts","sourceRoot":"","sources":["../../src/cluster/BooleanStateConfigurationCluster.ts"],"names":[],"mappings":"AACA;;;;GAIG;AAEH,8CAA8C;AAE9C,OAAO,EAAmB,OAAO,EAAE,KA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int-disable @typescript-eslint/no-namespace */
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright 2022-2024 Matter.js Authors
|
|
5
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
-
*/
|
|
7
|
-
/** * THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
8
|
-
import { ClusterRegistry, Command, Event, EventPriority, FixedAttribute, MutableCluster, OptionalAttribute, OptionalEvent, OptionalFixedAttribute, TlvNoResponse, WritableAttribute } from '@project-chip/matter-node.js/cluster';
|
|
9
|
-
import { Attribute } from '@project-chip/matter-node.js/cluster';
|
|
10
|
-
import { BitFlag } from '@project-chip/matter-node.js/schema';
|
|
11
|
-
import { TlvObject, TlvField, TlvBitmap, TlvUInt8, TlvOptionalField, TlvUInt16 } from '@project-chip/matter-node.js/tlv';
|
|
12
|
-
export var BooleanStateConfiguration;
|
|
13
|
-
(function (BooleanStateConfiguration) {
|
|
14
|
-
/**
|
|
15
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.5.1
|
|
16
|
-
*/
|
|
17
|
-
BooleanStateConfiguration.AlarmMode = {
|
|
18
|
-
/**
|
|
19
|
-
* Visual alarming
|
|
20
|
-
*/
|
|
21
|
-
visual: BitFlag(0),
|
|
22
|
-
/**
|
|
23
|
-
* Audible alarming
|
|
24
|
-
*/
|
|
25
|
-
audible: BitFlag(1),
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* Input to the BooleanStateConfiguration enableDisableAlarm command
|
|
29
|
-
*
|
|
30
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.7.2
|
|
31
|
-
*/
|
|
32
|
-
BooleanStateConfiguration.TlvEnableDisableAlarmRequest = TlvObject({
|
|
33
|
-
/**
|
|
34
|
-
* This field shall indicate the alarm modes to either enable or disable depending on the bit status, as
|
|
35
|
-
* specified for the AlarmsEnabled attribute.
|
|
36
|
-
*
|
|
37
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.7.2.1
|
|
38
|
-
*/
|
|
39
|
-
alarmsToEnableDisable: TlvField(0, TlvBitmap(TlvUInt8, BooleanStateConfiguration.AlarmMode)),
|
|
40
|
-
});
|
|
41
|
-
/**
|
|
42
|
-
* Body of the BooleanStateConfiguration alarmsStateChanged event
|
|
43
|
-
*
|
|
44
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.8.1
|
|
45
|
-
*/
|
|
46
|
-
BooleanStateConfiguration.TlvAlarmsStateChangedEvent = TlvObject({
|
|
47
|
-
/**
|
|
48
|
-
* This field shall indicate the state of active alarm modes, as indicated by the AlarmsActive attribute, at
|
|
49
|
-
* the time the event was generated.
|
|
50
|
-
*
|
|
51
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.8.1.1
|
|
52
|
-
*/
|
|
53
|
-
alarmsActive: TlvField(0, TlvBitmap(TlvUInt8, BooleanStateConfiguration.AlarmMode)),
|
|
54
|
-
/**
|
|
55
|
-
* This field shall indicate the state of suppressed alarm modes, as indicated by the AlarmsSuppressed
|
|
56
|
-
* attribute, at the time the event was generated.
|
|
57
|
-
*
|
|
58
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.8.1.2
|
|
59
|
-
*/
|
|
60
|
-
alarmsSuppressed: TlvOptionalField(1, TlvBitmap(TlvUInt8, BooleanStateConfiguration.AlarmMode)),
|
|
61
|
-
});
|
|
62
|
-
/**
|
|
63
|
-
* Input to the BooleanStateConfiguration suppressAlarm command
|
|
64
|
-
*
|
|
65
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.7.1
|
|
66
|
-
*/
|
|
67
|
-
BooleanStateConfiguration.TlvSuppressAlarmRequest = TlvObject({
|
|
68
|
-
/**
|
|
69
|
-
* This field shall indicate the alarm modes to suppress.
|
|
70
|
-
*
|
|
71
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.7.1.1
|
|
72
|
-
*/
|
|
73
|
-
alarmsToSuppress: TlvField(0, TlvBitmap(TlvUInt8, BooleanStateConfiguration.AlarmMode)),
|
|
74
|
-
});
|
|
75
|
-
/**
|
|
76
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.5.2
|
|
77
|
-
*/
|
|
78
|
-
BooleanStateConfiguration.SensorFault = {
|
|
79
|
-
/**
|
|
80
|
-
* Unspecified fault detected
|
|
81
|
-
*/
|
|
82
|
-
generalFault: BitFlag(0),
|
|
83
|
-
};
|
|
84
|
-
/**
|
|
85
|
-
* Body of the BooleanStateConfiguration sensorFault event
|
|
86
|
-
*
|
|
87
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.8.2
|
|
88
|
-
*/
|
|
89
|
-
BooleanStateConfiguration.TlvSensorFaultEvent = TlvObject({
|
|
90
|
-
/**
|
|
91
|
-
* This field shall indicate the value of the SensorFault attribute, at the time this event is generated.
|
|
92
|
-
*
|
|
93
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.8.2.1
|
|
94
|
-
*/
|
|
95
|
-
sensorFault: TlvField(0, TlvBitmap(TlvUInt16, BooleanStateConfiguration.SensorFault)),
|
|
96
|
-
});
|
|
97
|
-
/**
|
|
98
|
-
* A BooleanStateConfigurationCluster supports these elements if it supports feature SensitivityLevel.
|
|
99
|
-
*/
|
|
100
|
-
BooleanStateConfiguration.SensitivityLevelComponent = MutableCluster.Component({
|
|
101
|
-
attributes: {
|
|
102
|
-
/**
|
|
103
|
-
* Indicates the currently selected sensitivity level.
|
|
104
|
-
*
|
|
105
|
-
* If a write interaction to this attribute contains an unsupported sensitivity value, a CONSTRAINT_ERROR
|
|
106
|
-
* status shall be returned.
|
|
107
|
-
*
|
|
108
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.6.1
|
|
109
|
-
*/
|
|
110
|
-
currentSensitivityLevel: WritableAttribute(0x0, TlvUInt8, { persistent: true }),
|
|
111
|
-
/**
|
|
112
|
-
* Indicates the number of supported sensitivity levels by the device.
|
|
113
|
-
*
|
|
114
|
-
* These supported sensitivity levels shall be ordered by sensitivity, where a value of 0 shall be
|
|
115
|
-
* considered the lowest sensitivity level (least sensitive) and the highest supported value shall be
|
|
116
|
-
* considered the highest sensitivity level.
|
|
117
|
-
*
|
|
118
|
-
* The number of supported sensitivity levels SHOULD represent unique sensitivity levels supported by the
|
|
119
|
-
* device.
|
|
120
|
-
*
|
|
121
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.6.2
|
|
122
|
-
*/
|
|
123
|
-
supportedSensitivityLevels: FixedAttribute(0x1, TlvUInt8.bound({ min: 2, max: 10 })),
|
|
124
|
-
/**
|
|
125
|
-
* Indicates the default sensitivity level selected by the manufacturer.
|
|
126
|
-
*
|
|
127
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.6.3
|
|
128
|
-
*/
|
|
129
|
-
defaultSensitivityLevel: OptionalFixedAttribute(0x2, TlvUInt8),
|
|
130
|
-
},
|
|
131
|
-
});
|
|
132
|
-
/**
|
|
133
|
-
* A BooleanStateConfigurationCluster supports these elements if it supports features Visual or Audible.
|
|
134
|
-
*/
|
|
135
|
-
BooleanStateConfiguration.VisualOrAudibleComponent = MutableCluster.Component({
|
|
136
|
-
attributes: {
|
|
137
|
-
/**
|
|
138
|
-
* Indicates which specific alarm modes on the server are currently active. When the sensor is no longer
|
|
139
|
-
* triggered, this attribute shall be set to the inactive state, by setting the bit to 0, for all supported
|
|
140
|
-
* alarm modes.
|
|
141
|
-
*
|
|
142
|
-
* If an alarm mode is not supported, the bit indicating this alarm mode shall always be 0. A bit shall
|
|
143
|
-
* indicate whether the alarm mode inactive or not:
|
|
144
|
-
*
|
|
145
|
-
* • 0 = Inactive
|
|
146
|
-
*
|
|
147
|
-
* • 1 = Active
|
|
148
|
-
*
|
|
149
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.6.4
|
|
150
|
-
*/
|
|
151
|
-
alarmsActive: Attribute(0x3, TlvBitmap(TlvUInt8, BooleanStateConfiguration.AlarmMode)),
|
|
152
|
-
/**
|
|
153
|
-
* Indicates the alarm modes that will be emitted if the sensor is triggered. If an alarm mode is not
|
|
154
|
-
* supported, the bit indicating this alarm mode shall always be 0.
|
|
155
|
-
*
|
|
156
|
-
* A bit shall indicate whether the alarm mode is enabled or disabled:
|
|
157
|
-
*
|
|
158
|
-
* • 0 = Disabled
|
|
159
|
-
*
|
|
160
|
-
* • 1 = Enabled
|
|
161
|
-
*
|
|
162
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.6.6
|
|
163
|
-
*/
|
|
164
|
-
alarmsEnabled: OptionalAttribute(0x5, TlvBitmap(TlvUInt8, BooleanStateConfiguration.AlarmMode), { persistent: true }),
|
|
165
|
-
/**
|
|
166
|
-
* Indicates the alarms supported by the sensor. A bit shall indicate whether the alarm mode is supported:
|
|
167
|
-
*
|
|
168
|
-
* • 0 = Not supported
|
|
169
|
-
*
|
|
170
|
-
* • 1 = Supported
|
|
171
|
-
*
|
|
172
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.6.7
|
|
173
|
-
*/
|
|
174
|
-
alarmsSupported: FixedAttribute(0x6, TlvBitmap(TlvUInt8, BooleanStateConfiguration.AlarmMode)),
|
|
175
|
-
},
|
|
176
|
-
commands: {
|
|
177
|
-
/**
|
|
178
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.7.2
|
|
179
|
-
*/
|
|
180
|
-
enableDisableAlarm: Command(0x1, BooleanStateConfiguration.TlvEnableDisableAlarmRequest, 0x1, TlvNoResponse),
|
|
181
|
-
},
|
|
182
|
-
events: {
|
|
183
|
-
/**
|
|
184
|
-
* This event shall be generated after any bits in the AlarmsActive and/or AlarmsSuppressed attributes
|
|
185
|
-
* change. This may occur in situations such as when internal processing by the server determines that an
|
|
186
|
-
* alarm mode becomes active or inactive, or when the SuppressAlarm or EnableDisableAlarm commands are
|
|
187
|
-
* processed in a way that some alarm modes becomes suppressed, active or inactive.
|
|
188
|
-
*
|
|
189
|
-
* If several alarm modes change state at the same time, a single event combining multiple changes may be
|
|
190
|
-
* emitted instead of multiple events each representing a single change.
|
|
191
|
-
*
|
|
192
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.8.1
|
|
193
|
-
*/
|
|
194
|
-
alarmsStateChanged: Event(0x0, EventPriority.Info, BooleanStateConfiguration.TlvAlarmsStateChangedEvent),
|
|
195
|
-
},
|
|
196
|
-
});
|
|
197
|
-
/**
|
|
198
|
-
* A BooleanStateConfigurationCluster supports these elements if it supports feature AlarmSuppress.
|
|
199
|
-
*/
|
|
200
|
-
BooleanStateConfiguration.AlarmSuppressComponent = MutableCluster.Component({
|
|
201
|
-
attributes: {
|
|
202
|
-
/**
|
|
203
|
-
* Indicates which specific alarm modes on the server are currently suppressed. When the sensor is no
|
|
204
|
-
* longer triggered, this attribute shall be set to the unsuppressed state, by setting the bit to 0, for
|
|
205
|
-
* all supported alarm modes.
|
|
206
|
-
*
|
|
207
|
-
* If an alarm mode is not supported, the bit indicating this alarm mode shall always be 0. A bit shall
|
|
208
|
-
* indicate whether the alarm mode is suppressed or not:
|
|
209
|
-
*
|
|
210
|
-
* • 0 = Not suppressed
|
|
211
|
-
*
|
|
212
|
-
* • 1 = Suppressed
|
|
213
|
-
*
|
|
214
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.6.5
|
|
215
|
-
*/
|
|
216
|
-
alarmsSuppressed: Attribute(0x4, TlvBitmap(TlvUInt8, BooleanStateConfiguration.AlarmMode)),
|
|
217
|
-
},
|
|
218
|
-
commands: {
|
|
219
|
-
/**
|
|
220
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.7.1
|
|
221
|
-
*/
|
|
222
|
-
suppressAlarm: Command(0x0, BooleanStateConfiguration.TlvSuppressAlarmRequest, 0x0, TlvNoResponse),
|
|
223
|
-
},
|
|
224
|
-
});
|
|
225
|
-
/**
|
|
226
|
-
* These are optional features supported by BooleanStateConfigurationCluster.
|
|
227
|
-
*
|
|
228
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.4
|
|
229
|
-
*/
|
|
230
|
-
let Feature;
|
|
231
|
-
(function (Feature) {
|
|
232
|
-
/**
|
|
233
|
-
* Visual (VIS)
|
|
234
|
-
*
|
|
235
|
-
* Supports visual alarms
|
|
236
|
-
*/
|
|
237
|
-
Feature["Visual"] = "Visual";
|
|
238
|
-
/**
|
|
239
|
-
* Audible (AUD)
|
|
240
|
-
*
|
|
241
|
-
* Supports audible alarms
|
|
242
|
-
*/
|
|
243
|
-
Feature["Audible"] = "Audible";
|
|
244
|
-
/**
|
|
245
|
-
* AlarmSuppress (SPRS)
|
|
246
|
-
*
|
|
247
|
-
* This feature shall indicate that the device is able to suppress the supported alarm modes, when the user
|
|
248
|
-
* acknowledges the alarm. This is intended to stop visual and/or audible alarms, when the user has become
|
|
249
|
-
* aware that the sensor is triggered, but it is no longer desired to have the alarm modes active on the
|
|
250
|
-
* device, e.g.:
|
|
251
|
-
*
|
|
252
|
-
* • The triggering cause have been resolved by the user, but the sensor has not yet stopped detecting the
|
|
253
|
-
* triggering cause.
|
|
254
|
-
*
|
|
255
|
-
* • The user is not able to address the triggering cause, but is aware of the alarm and suppress/acknowledge
|
|
256
|
-
* it be addressed at a later point.
|
|
257
|
-
*
|
|
258
|
-
* Acknowledge of alarms will for the remainder of this cluster be referred to as suppress.
|
|
259
|
-
*
|
|
260
|
-
* A suppressed alarm is still considered active and will remain so unless it is actively disabled or the
|
|
261
|
-
* triggering condition is not longer present. The action of suppressing an alarm mode is only applicable to
|
|
262
|
-
* and is intended to stop the physical alarming, e.g. emitting a sound or blinking a light; it does not impact
|
|
263
|
-
* alarm reporting in AlarmsActive.
|
|
264
|
-
*
|
|
265
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.4.1
|
|
266
|
-
*/
|
|
267
|
-
Feature["AlarmSuppress"] = "AlarmSuppress";
|
|
268
|
-
/**
|
|
269
|
-
* SensitivityLevel (SENSLVL)
|
|
270
|
-
*
|
|
271
|
-
* Supports ability to set sensor sensitivity
|
|
272
|
-
*/
|
|
273
|
-
Feature["SensitivityLevel"] = "SensitivityLevel";
|
|
274
|
-
})(Feature = BooleanStateConfiguration.Feature || (BooleanStateConfiguration.Feature = {}));
|
|
275
|
-
/**
|
|
276
|
-
* These elements and properties are present in all BooleanStateConfiguration clusters.
|
|
277
|
-
*/
|
|
278
|
-
BooleanStateConfiguration.Base = MutableCluster.Component({
|
|
279
|
-
id: 0x80,
|
|
280
|
-
name: 'BooleanStateConfiguration',
|
|
281
|
-
revision: 1,
|
|
282
|
-
features: {
|
|
283
|
-
/**
|
|
284
|
-
* Visual
|
|
285
|
-
*
|
|
286
|
-
* Supports visual alarms
|
|
287
|
-
*/
|
|
288
|
-
visual: BitFlag(0),
|
|
289
|
-
/**
|
|
290
|
-
* Audible
|
|
291
|
-
*
|
|
292
|
-
* Supports audible alarms
|
|
293
|
-
*/
|
|
294
|
-
audible: BitFlag(1),
|
|
295
|
-
/**
|
|
296
|
-
* AlarmSuppress
|
|
297
|
-
*
|
|
298
|
-
* This feature shall indicate that the device is able to suppress the supported alarm modes, when the user
|
|
299
|
-
* acknowledges the alarm. This is intended to stop visual and/or audible alarms, when the user has become
|
|
300
|
-
* aware that the sensor is triggered, but it is no longer desired to have the alarm modes active on the
|
|
301
|
-
* device, e.g.:
|
|
302
|
-
*
|
|
303
|
-
* • The triggering cause have been resolved by the user, but the sensor has not yet stopped detecting
|
|
304
|
-
* the triggering cause.
|
|
305
|
-
*
|
|
306
|
-
* • The user is not able to address the triggering cause, but is aware of the alarm and
|
|
307
|
-
* suppress/acknowledge it be addressed at a later point.
|
|
308
|
-
*
|
|
309
|
-
* Acknowledge of alarms will for the remainder of this cluster be referred to as suppress.
|
|
310
|
-
*
|
|
311
|
-
* A suppressed alarm is still considered active and will remain so unless it is actively disabled or the
|
|
312
|
-
* triggering condition is not longer present. The action of suppressing an alarm mode is only applicable
|
|
313
|
-
* to and is intended to stop the physical alarming, e.g. emitting a sound or blinking a light; it does not
|
|
314
|
-
* impact alarm reporting in AlarmsActive.
|
|
315
|
-
*
|
|
316
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.4.1
|
|
317
|
-
*/
|
|
318
|
-
alarmSuppress: BitFlag(2),
|
|
319
|
-
/**
|
|
320
|
-
* SensitivityLevel
|
|
321
|
-
*
|
|
322
|
-
* Supports ability to set sensor sensitivity
|
|
323
|
-
*/
|
|
324
|
-
sensitivityLevel: BitFlag(3),
|
|
325
|
-
},
|
|
326
|
-
attributes: {
|
|
327
|
-
/**
|
|
328
|
-
* Indicates any faults registered by the device.
|
|
329
|
-
*
|
|
330
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.6.8
|
|
331
|
-
*/
|
|
332
|
-
sensorFault: OptionalAttribute(0x7, TlvBitmap(TlvUInt16, BooleanStateConfiguration.SensorFault)),
|
|
333
|
-
},
|
|
334
|
-
events: {
|
|
335
|
-
/**
|
|
336
|
-
* This event shall be generated when the device registers or clears a fault.
|
|
337
|
-
*
|
|
338
|
-
* @see {@link MatterSpecification.v13.Cluster} § 1.8.8.2
|
|
339
|
-
*/
|
|
340
|
-
sensorFault: OptionalEvent(0x1, EventPriority.Info, BooleanStateConfiguration.TlvSensorFaultEvent),
|
|
341
|
-
},
|
|
342
|
-
/**
|
|
343
|
-
* This metadata controls which BooleanStateConfigurationCluster elements matter.js activates for specific
|
|
344
|
-
* feature combinations.
|
|
345
|
-
*/
|
|
346
|
-
extensions: MutableCluster.Extensions({ flags: { sensitivityLevel: true }, component: BooleanStateConfiguration.SensitivityLevelComponent }, { flags: { visual: true }, component: BooleanStateConfiguration.VisualOrAudibleComponent }, { flags: { audible: true }, component: BooleanStateConfiguration.VisualOrAudibleComponent }, { flags: { alarmSuppress: true }, component: BooleanStateConfiguration.AlarmSuppressComponent }, { flags: { alarmSuppress: true, visual: true, audible: true }, component: false }),
|
|
347
|
-
});
|
|
348
|
-
/**
|
|
349
|
-
* @see {@link Cluster}
|
|
350
|
-
*/
|
|
351
|
-
BooleanStateConfiguration.ClusterInstance = MutableCluster(BooleanStateConfiguration.Base);
|
|
352
|
-
BooleanStateConfiguration.Cluster = BooleanStateConfiguration.ClusterInstance;
|
|
353
|
-
const SENSLVL = { sensitivityLevel: true };
|
|
354
|
-
const VIS = { visual: true };
|
|
355
|
-
const AUD = { audible: true };
|
|
356
|
-
const SPRS = { alarmSuppress: true };
|
|
357
|
-
/**
|
|
358
|
-
* @see {@link Complete}
|
|
359
|
-
*/
|
|
360
|
-
BooleanStateConfiguration.CompleteInstance = MutableCluster({
|
|
361
|
-
id: BooleanStateConfiguration.Cluster.id,
|
|
362
|
-
name: BooleanStateConfiguration.Cluster.name,
|
|
363
|
-
revision: BooleanStateConfiguration.Cluster.revision,
|
|
364
|
-
features: BooleanStateConfiguration.Cluster.features,
|
|
365
|
-
attributes: {
|
|
366
|
-
...BooleanStateConfiguration.Cluster.attributes,
|
|
367
|
-
currentSensitivityLevel: MutableCluster.AsConditional(BooleanStateConfiguration.SensitivityLevelComponent.attributes.currentSensitivityLevel, { mandatoryIf: [SENSLVL] }),
|
|
368
|
-
supportedSensitivityLevels: MutableCluster.AsConditional(BooleanStateConfiguration.SensitivityLevelComponent.attributes.supportedSensitivityLevels, { mandatoryIf: [SENSLVL] }),
|
|
369
|
-
defaultSensitivityLevel: MutableCluster.AsConditional(BooleanStateConfiguration.SensitivityLevelComponent.attributes.defaultSensitivityLevel, { optionalIf: [SENSLVL] }),
|
|
370
|
-
alarmsActive: MutableCluster.AsConditional(BooleanStateConfiguration.VisualOrAudibleComponent.attributes.alarmsActive, { mandatoryIf: [VIS, AUD] }),
|
|
371
|
-
alarmsSuppressed: MutableCluster.AsConditional(BooleanStateConfiguration.AlarmSuppressComponent.attributes.alarmsSuppressed, { mandatoryIf: [SPRS] }),
|
|
372
|
-
alarmsEnabled: MutableCluster.AsConditional(BooleanStateConfiguration.VisualOrAudibleComponent.attributes.alarmsEnabled, { optionalIf: [VIS, AUD] }),
|
|
373
|
-
alarmsSupported: MutableCluster.AsConditional(BooleanStateConfiguration.VisualOrAudibleComponent.attributes.alarmsSupported, { mandatoryIf: [VIS, AUD] }),
|
|
374
|
-
},
|
|
375
|
-
commands: {
|
|
376
|
-
suppressAlarm: MutableCluster.AsConditional(BooleanStateConfiguration.AlarmSuppressComponent.commands.suppressAlarm, { mandatoryIf: [SPRS] }),
|
|
377
|
-
enableDisableAlarm: MutableCluster.AsConditional(BooleanStateConfiguration.VisualOrAudibleComponent.commands.enableDisableAlarm, { mandatoryIf: [VIS, AUD] }),
|
|
378
|
-
},
|
|
379
|
-
events: {
|
|
380
|
-
...BooleanStateConfiguration.Cluster.events,
|
|
381
|
-
alarmsStateChanged: MutableCluster.AsConditional(BooleanStateConfiguration.VisualOrAudibleComponent.events.alarmsStateChanged, { mandatoryIf: [VIS, AUD] }),
|
|
382
|
-
},
|
|
383
|
-
});
|
|
384
|
-
BooleanStateConfiguration.Complete = BooleanStateConfiguration.CompleteInstance;
|
|
385
|
-
})(BooleanStateConfiguration || (BooleanStateConfiguration = {}));
|
|
386
|
-
export const BooleanStateConfigurationCluster = BooleanStateConfiguration.Cluster;
|
|
387
|
-
ClusterRegistry.register(BooleanStateConfiguration.Complete);
|
|
388
|
-
//# sourceMappingURL=BooleanStateConfigurationCluster.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BooleanStateConfigurationCluster.js","sourceRoot":"","sources":["../../src/cluster/BooleanStateConfigurationCluster.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD;;;;GAIG;AAEH,8CAA8C;AAE9C,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,iBAAiB,EAAE,aAAa,EAAE,sBAAsB,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAClO,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,SA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AAE,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC;SACpI;QAED,MAAM,EAAE;YACN,GAAG,0BAAA,OAAO,CAAC,MAAM;YACjB,kBAAkB,EAAE,cAAc,CAAC,aAAa,CAAC,0BAAA,wBAAwB,CAAC,MAAM,CAAC,kBAAkB,EAAE,EAAE,WAAW,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC;SAClI;KACF,CAAC,CAAC;IAUU,kCAAQ,GAAa,0BAAA,gBAAgB,CAAC;AACrD,CAAC,EA5cgB,yBAAyB,KAAzB,yBAAyB,QA4czC;AAGD,MAAM,CAAC,MAAM,gCAAgC,GAAG,yBAAyB,CAAC,OAAO,CAAC;AAClF,eAAe,CAAC,QAAQ,CAAC,yBAAyB,CAAC,QAAQ,CAAC,CAAC"}
|
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2022-2024 Matter.js Authors
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
/** * THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
7
|
-
import { MutableCluster } from '@project-chip/matter-node.js/cluster';
|
|
8
|
-
import { OptionalFixedAttribute, OptionalWritableAttribute, Attribute, OptionalEvent, Event } from '@project-chip/matter-node.js/cluster';
|
|
9
|
-
import { TypeFromSchema } from '@project-chip/matter-node.js/tlv';
|
|
10
|
-
import { Identity } from '@project-chip/matter-node.js/util';
|
|
11
|
-
export declare namespace BridgedDeviceBasicInformation {
|
|
12
|
-
enum ProductFinish {
|
|
13
|
-
Other = 0,
|
|
14
|
-
Matte = 1,
|
|
15
|
-
Satin = 2,
|
|
16
|
-
Polished = 3,
|
|
17
|
-
Rugged = 4,
|
|
18
|
-
Fabric = 5
|
|
19
|
-
}
|
|
20
|
-
enum Color {
|
|
21
|
-
Black = 0,
|
|
22
|
-
Navy = 1,
|
|
23
|
-
Green = 2,
|
|
24
|
-
Teal = 3,
|
|
25
|
-
Maroon = 4,
|
|
26
|
-
Purple = 5,
|
|
27
|
-
Olive = 6,
|
|
28
|
-
Gray = 7,
|
|
29
|
-
Blue = 8,
|
|
30
|
-
Lime = 9,
|
|
31
|
-
Aqua = 10,
|
|
32
|
-
Red = 11,
|
|
33
|
-
Fuchsia = 12,
|
|
34
|
-
Yellow = 13,
|
|
35
|
-
White = 14,
|
|
36
|
-
Nickel = 15,
|
|
37
|
-
Chrome = 16,
|
|
38
|
-
Brass = 17,
|
|
39
|
-
Copper = 18,
|
|
40
|
-
Silver = 19,
|
|
41
|
-
Gold = 20
|
|
42
|
-
}
|
|
43
|
-
const TlvProductAppearanceStruct: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
44
|
-
finish: import("@project-chip/matter-node.js/tlv").FieldType<ProductFinish>;
|
|
45
|
-
primaryColor: import("@project-chip/matter-node.js/tlv").FieldType<Color | null>;
|
|
46
|
-
}>;
|
|
47
|
-
interface ProductAppearanceStruct extends TypeFromSchema<typeof TlvProductAppearanceStruct> {
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Body of the BridgedDeviceBasicInformation startUp event
|
|
51
|
-
*
|
|
52
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.5
|
|
53
|
-
*/
|
|
54
|
-
const TlvStartUpEvent: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
55
|
-
softwareVersion: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
56
|
-
}>;
|
|
57
|
-
/**
|
|
58
|
-
* Body of the BridgedDeviceBasicInformation startUp event
|
|
59
|
-
*
|
|
60
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.5
|
|
61
|
-
*/
|
|
62
|
-
interface StartUpEvent extends TypeFromSchema<typeof TlvStartUpEvent> {
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Body of the BridgedDeviceBasicInformation reachableChanged event
|
|
66
|
-
*
|
|
67
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.5.1
|
|
68
|
-
*/
|
|
69
|
-
const TlvReachableChangedEvent: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
70
|
-
reachableNewValue: import("@project-chip/matter-node.js/tlv").FieldType<boolean>;
|
|
71
|
-
}>;
|
|
72
|
-
/**
|
|
73
|
-
* Body of the BridgedDeviceBasicInformation reachableChanged event
|
|
74
|
-
*
|
|
75
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.5.1
|
|
76
|
-
*/
|
|
77
|
-
interface ReachableChangedEvent extends TypeFromSchema<typeof TlvReachableChangedEvent> {
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* @see {@link Cluster}
|
|
81
|
-
*/
|
|
82
|
-
const ClusterInstance: MutableCluster<{
|
|
83
|
-
readonly id: 57;
|
|
84
|
-
readonly name: "BridgedDeviceBasicInformation";
|
|
85
|
-
readonly revision: 2;
|
|
86
|
-
readonly attributes: {
|
|
87
|
-
/**
|
|
88
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.4
|
|
89
|
-
*/
|
|
90
|
-
readonly vendorName: OptionalFixedAttribute<string, any>;
|
|
91
|
-
/**
|
|
92
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.4
|
|
93
|
-
*/
|
|
94
|
-
readonly vendorId: OptionalFixedAttribute<import("@project-chip/matter-node.js/datatype").VendorId, any>;
|
|
95
|
-
/**
|
|
96
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.4
|
|
97
|
-
*/
|
|
98
|
-
readonly productName: OptionalFixedAttribute<string, any>;
|
|
99
|
-
/**
|
|
100
|
-
* This attribute shall specify the Product ID assigned by the vendor that is unique to the specific
|
|
101
|
-
* product of the Node.
|
|
102
|
-
*
|
|
103
|
-
* @see {@link MatterSpecification.v11.Core} § 11.1.5.5
|
|
104
|
-
*/
|
|
105
|
-
readonly productId: OptionalFixedAttribute<number, any>;
|
|
106
|
-
/**
|
|
107
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.4
|
|
108
|
-
*/
|
|
109
|
-
readonly nodeLabel: OptionalWritableAttribute<string, any>;
|
|
110
|
-
/**
|
|
111
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.4
|
|
112
|
-
*/
|
|
113
|
-
readonly hardwareVersion: OptionalFixedAttribute<number, any>;
|
|
114
|
-
/**
|
|
115
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.4
|
|
116
|
-
*/
|
|
117
|
-
readonly hardwareVersionString: OptionalFixedAttribute<string, any>;
|
|
118
|
-
/**
|
|
119
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.4
|
|
120
|
-
*/
|
|
121
|
-
readonly softwareVersion: OptionalFixedAttribute<number, any>;
|
|
122
|
-
/**
|
|
123
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.4
|
|
124
|
-
*/
|
|
125
|
-
readonly softwareVersionString: OptionalFixedAttribute<string, any>;
|
|
126
|
-
/**
|
|
127
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.4
|
|
128
|
-
*/
|
|
129
|
-
readonly manufacturingDate: OptionalFixedAttribute<string, any>;
|
|
130
|
-
/**
|
|
131
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.4
|
|
132
|
-
*/
|
|
133
|
-
readonly partNumber: OptionalFixedAttribute<string, any>;
|
|
134
|
-
/**
|
|
135
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.4
|
|
136
|
-
*/
|
|
137
|
-
readonly productUrl: OptionalFixedAttribute<string, any>;
|
|
138
|
-
/**
|
|
139
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.4
|
|
140
|
-
*/
|
|
141
|
-
readonly productLabel: OptionalFixedAttribute<string, any>;
|
|
142
|
-
/**
|
|
143
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.4
|
|
144
|
-
*/
|
|
145
|
-
readonly serialNumber: OptionalFixedAttribute<string, any>;
|
|
146
|
-
/**
|
|
147
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.4
|
|
148
|
-
*/
|
|
149
|
-
readonly reachable: Attribute<boolean, any>;
|
|
150
|
-
/**
|
|
151
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.4
|
|
152
|
-
*/
|
|
153
|
-
readonly uniqueId: OptionalFixedAttribute<string, any>;
|
|
154
|
-
readonly productAppearance: OptionalFixedAttribute<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
155
|
-
finish: import("@project-chip/matter-node.js/tlv").FieldType<ProductFinish>;
|
|
156
|
-
primaryColor: import("@project-chip/matter-node.js/tlv").FieldType<Color | null>;
|
|
157
|
-
}>, any>;
|
|
158
|
-
};
|
|
159
|
-
readonly events: {
|
|
160
|
-
/**
|
|
161
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.5
|
|
162
|
-
*/
|
|
163
|
-
readonly startUp: OptionalEvent<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
164
|
-
softwareVersion: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
165
|
-
}>, any>;
|
|
166
|
-
/**
|
|
167
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.5
|
|
168
|
-
*/
|
|
169
|
-
readonly shutDown: OptionalEvent<void, any>;
|
|
170
|
-
/**
|
|
171
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.5
|
|
172
|
-
*/
|
|
173
|
-
readonly leave: OptionalEvent<void, any>;
|
|
174
|
-
/**
|
|
175
|
-
* This event shall be generated when there is a change in the Reachable attribute. Its purpose is to
|
|
176
|
-
* provide an indication towards interested parties that the reachability of a bridged device (over the
|
|
177
|
-
* non-Matter network) has changed, so they may take appropriate action.
|
|
178
|
-
*
|
|
179
|
-
* After (re)start of a bridge this event may be generated.
|
|
180
|
-
*
|
|
181
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13.5.1
|
|
182
|
-
*/
|
|
183
|
-
readonly reachableChanged: Event<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
184
|
-
reachableNewValue: import("@project-chip/matter-node.js/tlv").FieldType<boolean>;
|
|
185
|
-
}>, any>;
|
|
186
|
-
};
|
|
187
|
-
}>;
|
|
188
|
-
/**
|
|
189
|
-
* Bridged Device Basic Information
|
|
190
|
-
*
|
|
191
|
-
* This Cluster serves two purposes towards a Node communicating with a Bridge:
|
|
192
|
-
*
|
|
193
|
-
* • Indicate that the functionality on the Endpoint where it is placed (and its Parts) is bridged from a
|
|
194
|
-
* non-Matter technology, and
|
|
195
|
-
*
|
|
196
|
-
* • Provide a centralized collection of attributes that the Node may collect to aid in conveying information
|
|
197
|
-
* regarding the Bridged Device to a user, such as the vendor name, the model name, or user-assigned name.
|
|
198
|
-
*
|
|
199
|
-
* This cluster shall be exposed by a Bridge on the Endpoint representing each Bridged Device. When the
|
|
200
|
-
* functionality of a Bridged Device is represented using a set of Endpoints, this cluster shall only be exposed on
|
|
201
|
-
* the Endpoint which is at the top of the hierarchy for the functionality of that Bridged Device.
|
|
202
|
-
*
|
|
203
|
-
* This cluster shall NOT be used on an endpoint that is not in the Descriptor cluster PartsList of an endpoint
|
|
204
|
-
* with an Aggregator device type.
|
|
205
|
-
*
|
|
206
|
-
* This cluster has been derived from the Basic Information Cluster, and provides generic information about the
|
|
207
|
-
* Bridged Device. Not all of the attributes in the Basic Information Cluster are relevant for a Bridged Device
|
|
208
|
-
* (e.g. ProductID since it is not a Matter device). For other attributes, the information which is listed as
|
|
209
|
-
* Mandatory for the Basic Information Cluster, may not be available when the Bridged Device does not provide it to
|
|
210
|
-
* the Bridge, and the Bridge has no other means to determine it. For such cases where the information for a
|
|
211
|
-
* particular attribute is not available, the Bridge SHOULD NOT include the attribute in the cluster for this
|
|
212
|
-
* Bridged Device. See below for Conformance details.
|
|
213
|
-
*
|
|
214
|
-
* @see {@link MatterSpecification.v11.Core} § 9.13
|
|
215
|
-
*/
|
|
216
|
-
interface Cluster extends Identity<typeof ClusterInstance> {
|
|
217
|
-
}
|
|
218
|
-
const Cluster: Cluster;
|
|
219
|
-
const Complete: Cluster;
|
|
220
|
-
}
|
|
221
|
-
export type BridgedDeviceBasicInformationCluster = BridgedDeviceBasicInformation.Cluster;
|
|
222
|
-
export declare const BridgedDeviceBasicInformationCluster: BridgedDeviceBasicInformation.Cluster;
|
|
223
|
-
//# sourceMappingURL=BridgedDeviceBasicInformationCluster.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BridgedDeviceBasicInformationCluster.d.ts","sourceRoot":"","sources":["../../src/cluster/BridgedDeviceBasicInformationCluster.ts"],"names":[],"mappings":"AACA;;;;GAIG;AAEH,8CAA8C;AAG9C,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,sBAAsB,EAAE,yBAAyB,EAAe,SAAS,EAAE,aAAa,EAAiB,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAOtK,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAElE,OAAO,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAG7D,yBAAiB,6BAA6B,CAAC;IAC7C,KAAY,aAAa;QACvB,KAAK,IAAI;QACT,KAAK,IAAI;QACT,KAAK,IAAI;QACT,QAAQ,IAAI;QACZ,MAAM,IAAI;QACV,MAAM,IAAI;KACX;IAED,KAAY,KAAK;QACf,KAAK,IAAI;QACT,IAAI,IAAI;QACR,KAAK,IAAI;QACT,IAAI,IAAI;QACR,MAAM,IAAI;QACV,MAAM,IAAI;QACV,KAAK,IAAI;QACT,IAAI,IAAI;QACR,IAAI,IAAI;QACR,IAAI,IAAI;QACR,IAAI,KAAK;QACT,GAAG,KAAK;QACR,OAAO,KAAK;QACZ,MAAM,KAAK;QACX,KAAK,KAAK;QACV,MAAM,KAAK;QACX,MAAM,KAAK;QACX,KAAK,KAAK;QACV,MAAM,KAAK;QACX,MAAM,KAAK;QACX,IAAI,KAAK;KACV;IAEM,MAAM,0BAA0B;;;MAGrC,CAAC;IAEH,UAAiB,uBAAwB,SAAQ,cA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