zigbee-herdsman 10.0.7 → 10.1.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.
@@ -1,5 +1,5 @@
1
1
  import type { Foundation } from "./foundation";
2
- import type { ExtensionFieldSet, Gpd, GpdAttributeReport, GpdChannelConfiguration, GpdChannelRequest, GpdCommissioningReply, GpdCustomReply, Struct, ThermoTransition, TuyaDataPointValue, ZclArray, ZoneInfo } from "./tstype";
2
+ import type { ExtensionFieldSet, Gpd, GpdAttributeReporting, GpdChannelConfiguration, GpdChannelRequest, GpdCommissioningReply, GpdCustomReply, GpdReadAttributeResponse, GpdRequestAttribute, Struct, ThermoTransition, TuyaDataPointValue, ZclArray, ZoneInfo } from "./tstype";
3
3
  export interface TClusters {
4
4
  genBasic: {
5
5
  attributes: {
@@ -586,7 +586,7 @@ export interface TClusters {
586
586
  commands: {
587
587
  /** ID=0x00 | required=true */
588
588
  moveToLevel: {
589
- /** type=UINT8 */
589
+ /** type=UINT8 | max=255 */
590
590
  level: number;
591
591
  /** type=UINT16 */
592
592
  transtime: number;
@@ -628,7 +628,7 @@ export interface TClusters {
628
628
  };
629
629
  /** ID=0x04 | required=true */
630
630
  moveToLevelWithOnOff: {
631
- /** type=UINT8 */
631
+ /** type=UINT8 | max=255 */
632
632
  level: number;
633
633
  /** type=UINT16 */
634
634
  transtime: number;
@@ -1977,9 +1977,9 @@ export interface TClusters {
1977
1977
  /** type=UINT8 */
1978
1978
  payloadSize: number;
1979
1979
  /** type=GPD_FRAME | conditions=[{bitMaskSet param=options mask=192 reversed=true}] */
1980
- commandFrame?: Gpd | GpdChannelRequest | GpdAttributeReport | {
1980
+ commandFrame?: Gpd | GpdChannelRequest | GpdAttributeReporting | GpdCommissioningReply | GpdChannelConfiguration | GpdCustomReply | GpdReadAttributeResponse | GpdRequestAttribute | {
1981
1981
  raw: Buffer;
1982
- } | Record<string, never> | GpdCommissioningReply | GpdChannelConfiguration | GpdCustomReply;
1982
+ } | Record<string, never>;
1983
1983
  /** type=UINT16 | conditions=[{bitMaskSet param=options mask=16384}] */
1984
1984
  gppNwkAddr?: number;
1985
1985
  /** type=BITMAP8 | conditions=[{bitMaskSet param=options mask=16384}] */
@@ -2030,9 +2030,9 @@ export interface TClusters {
2030
2030
  /** type=UINT8 */
2031
2031
  payloadSize: number;
2032
2032
  /** type=GPD_FRAME | conditions=[{bitMaskSet param=options mask=48 reversed=true}{bitMaskSet param=options mask=512 reversed=true}] */
2033
- commandFrame?: Gpd | GpdChannelRequest | GpdAttributeReport | {
2033
+ commandFrame?: Gpd | GpdChannelRequest | GpdAttributeReporting | GpdCommissioningReply | GpdChannelConfiguration | GpdCustomReply | GpdReadAttributeResponse | GpdRequestAttribute | {
2034
2034
  raw: Buffer;
2035
- } | Record<string, never> | GpdCommissioningReply | GpdChannelConfiguration | GpdCustomReply;
2035
+ } | Record<string, never>;
2036
2036
  /** type=UINT16 | conditions=[{bitMaskSet param=options mask=2048}] */
2037
2037
  gppNwkAddr?: number;
2038
2038
  /** type=BITMAP8 | conditions=[{bitMaskSet param=options mask=2048}] */
@@ -2159,9 +2159,9 @@ export interface TClusters {
2159
2159
  /** type=UINT8 */
2160
2160
  gpdCmd: number;
2161
2161
  /** type=GPD_FRAME */
2162
- gpdPayload: Gpd | GpdChannelRequest | GpdAttributeReport | {
2162
+ gpdPayload: Gpd | GpdChannelRequest | GpdAttributeReporting | GpdCommissioningReply | GpdChannelConfiguration | GpdCustomReply | GpdReadAttributeResponse | GpdRequestAttribute | {
2163
2163
  raw: Buffer;
2164
- } | Record<string, never> | GpdCommissioningReply | GpdChannelConfiguration | GpdCustomReply;
2164
+ } | Record<string, never>;
2165
2165
  };
2166
2166
  /** ID=0x08 */
2167
2167
  translationTableRsp: {
@@ -2251,6 +2251,35 @@ export interface TClusters {
2251
2251
  commands: never;
2252
2252
  commandResponses: never;
2253
2253
  };
2254
+ zigbeeDirectConfiguration: {
2255
+ attributes: {
2256
+ /** ID=0x0000 | type=BITMAP8 | max=255 | required=true */
2257
+ interfaceState: number;
2258
+ /** ID=0x0001 | type=UINT24 | max=1048576 | required=true */
2259
+ anonymousJoinTimeout: number;
2260
+ };
2261
+ commands: {
2262
+ /** ID=0x00 | response=0 | required=true */
2263
+ configureInterface: {
2264
+ /** type=BITMAP8 | max=255 */
2265
+ interfaceState: number;
2266
+ };
2267
+ /** ID=0x01 | required=true */
2268
+ configureAnonymousJoinTimeout: {
2269
+ /** type=UINT24 | max=1048576 */
2270
+ anonymousJoinTimeout: number;
2271
+ };
2272
+ };
2273
+ commandResponses: {
2274
+ /** ID=0x00 | required=true */
2275
+ configureInterfaceRsp: {
2276
+ /** type=ENUM8 */
2277
+ status: number;
2278
+ /** type=BITMAP8 | max=255 */
2279
+ interfaceState: number;
2280
+ };
2281
+ };
2282
+ };
2254
2283
  closuresShadeCfg: {
2255
2284
  attributes: {
2256
2285
  /** ID=0x0000 | type=UINT16 | min=1 | max=65534 */
@@ -3515,7 +3544,7 @@ export interface TClusters {
3515
3544
  };
3516
3545
  msIlluminanceMeasurement: {
3517
3546
  attributes: {
3518
- /** ID=0x0000 | type=UINT16 | report=true | required=true | max=65535 | default=0 | special=TooLowToBeMeasured,0000,Invalid,ffff */
3547
+ /** ID=0x0000 | type=UINT16 | report=true | required=true | max=65534 | default=0 | special=TooLowToBeMeasured,0000,Invalid,ffff */
3519
3548
  measuredValue: number;
3520
3549
  /** ID=0x0001 | type=UINT16 | required=true | min=1 | max=65533 */
3521
3550
  minMeasuredValue: number;
@@ -3551,12 +3580,6 @@ export interface TClusters {
3551
3580
  maxMeasuredValue: number;
3552
3581
  /** ID=0x0003 | type=UINT16 | max=2048 */
3553
3582
  tolerance: number;
3554
- /** ID=0x6600 | type=INT16 | manufacturerCode=CUSTOM_SPRUT_DEVICE(0x6666) | write=true | min=-32768 | max=32767 */
3555
- sprutTemperatureOffset?: number;
3556
- /** ID=0x0010 | type=UNKNOWN | write=true */
3557
- minPercentChange: never;
3558
- /** ID=0x0011 | type=UNKNOWN | write=true */
3559
- minAbsoluteChange: never;
3560
3583
  };
3561
3584
  commands: never;
3562
3585
  commandResponses: never;