@kusinta/iot-schema 0.2.0-beta.14 → 0.2.0-beta.15
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/package.json
CHANGED
|
@@ -253,6 +253,25 @@ export declare type ClusterState = Message<"kusinta.iot.device.v1.ClusterState">
|
|
|
253
253
|
* @generated from field: repeated uint32 attribute_ids = 6;
|
|
254
254
|
*/
|
|
255
255
|
attributeIds: number[];
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* The step each writable attribute is set in, keyed by attribute id, in the attribute's
|
|
259
|
+
* own wire unit: 50 on OccupiedHeatingSetpoint is a half degree, since the setpoint is
|
|
260
|
+
* carried in centidegrees.
|
|
261
|
+
*
|
|
262
|
+
* Matter defines no granularity for a setpoint, and devices differ by a factor of ten —
|
|
263
|
+
* one valve holds tenths, another half degrees, another whole degrees. A consumer that
|
|
264
|
+
* guesses offers steps the device silently rounds away, and one that compares a written
|
|
265
|
+
* value with the device's report on the wrong grid never sees the two agree. A value
|
|
266
|
+
* written on this step is one the device holds as written.
|
|
267
|
+
*
|
|
268
|
+
* Stated by the producer at announcement, like attribute_ids, and the same rule
|
|
269
|
+
* applies: an absent key is "not stated", never a step of zero, and a consumer falls
|
|
270
|
+
* back to its own default. A value of 0 means nothing and is treated as absent.
|
|
271
|
+
*
|
|
272
|
+
* @generated from field: map<uint32, uint32> attribute_steps = 7;
|
|
273
|
+
*/
|
|
274
|
+
attributeSteps: { [key: number]: number };
|
|
256
275
|
};
|
|
257
276
|
|
|
258
277
|
/**
|
|
@@ -8,7 +8,7 @@ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
|
8
8
|
* Describes the file kusinta/iot/device/v1/cluster_state.proto.
|
|
9
9
|
*/
|
|
10
10
|
export const file_kusinta_iot_device_v1_cluster_state = /*@__PURE__*/
|
|
11
|
-
fileDesc("
|
|
11
|
+
fileDesc("CilrdXNpbnRhL2lvdC9kZXZpY2UvdjEv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