Skip to content

Commit d5bde3c

Browse files
authored
fix: Remove sprutDevice cluster (#1484)
1 parent 5e55a56 commit d5bde3c

File tree

4 files changed

+4
-22
lines changed

4 files changed

+4
-22
lines changed

src/zspec/zcl/definition/cluster.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5440,15 +5440,6 @@ export const Clusters: Readonly<Record<ClusterName, Readonly<ClusterDefinition>>
54405440
commands: {},
54415441
commandsResponse: {},
54425442
},
5443-
sprutDevice: {
5444-
ID: 26112,
5445-
manufacturerCode: 26214,
5446-
attributes: {
5447-
debug: {ID: 0, type: DataType.BOOLEAN},
5448-
},
5449-
commands: {},
5450-
commandsResponse: {},
5451-
},
54525443
sprutVoc: {
54535444
ID: 26113,
54545445
manufacturerCode: 26214,

src/zspec/zcl/definition/clusters-types.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6577,14 +6577,6 @@ export interface TClusters {
65776577
commands: never;
65786578
commandResponses: never;
65796579
};
6580-
sprutDevice: {
6581-
attributes: {
6582-
/** ID: 0 | Type: BOOLEAN */
6583-
debug: number;
6584-
};
6585-
commands: never;
6586-
commandResponses: never;
6587-
};
65886580
sprutVoc: {
65896581
attributes: {
65906582
/** ID: 26112 | Type: UINT16 */

src/zspec/zcl/definition/tstype.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,6 @@ export type ClusterName =
364364
| "elkoSwitchConfigurationClusterServer"
365365
| "manuSpecificSchneiderLightSwitchConfiguration"
366366
| "manuSpecificSchneiderFanSwitchConfiguration"
367-
| "sprutDevice"
368367
| "sprutVoc"
369368
| "sprutNoise"
370369
| "sprutIrBlaster"

test/zspec/zcl/utils.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ describe("ZCL Utils", () => {
5151
],
5252
[
5353
"by ID with non-matching manufacturer code",
54-
{key: Zcl.Clusters.sprutDevice.ID, manufacturerCode: 123, customClusters: {}},
55-
{cluster: Zcl.Clusters.sprutDevice, name: "sprutDevice"},
54+
{key: Zcl.Clusters.manuSpecificSinope.ID, manufacturerCode: 123, customClusters: {}},
55+
{cluster: Zcl.Clusters.manuSpecificSinope, name: "manuSpecificSinope"},
5656
],
5757
[
5858
"by ID with matching manufacturer code",
59-
{key: Zcl.Clusters.sprutDevice.ID, manufacturerCode: Zcl.Clusters.sprutDevice.manufacturerCode!, customClusters: {}},
60-
{cluster: Zcl.Clusters.sprutDevice, name: "sprutDevice"},
59+
{key: Zcl.Clusters.manuSpecificSinope.ID, manufacturerCode: Zcl.Clusters.manuSpecificSinope.manufacturerCode!, customClusters: {}},
60+
{cluster: Zcl.Clusters.manuSpecificSinope, name: "manuSpecificSinope"},
6161
],
6262
[
6363
"custom by ID",

0 commit comments

Comments
 (0)