Skip to content

Commit

Permalink
Revert "feat: Add tradfriButton cluster Koenkk/zigbee-herdsman-conv…
Browse files Browse the repository at this point in the history
…erters#6574"

This reverts commit 6e454d8.
  • Loading branch information
lorenzspenger committed Dec 1, 2023
1 parent 3df62e5 commit 63063ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 41 deletions.
8 changes: 1 addition & 7 deletions src/controller/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,6 @@ const CommandsLookup: {[s: string]: MessagePayloadType} = {

// Schneider
'schneiderWiserThermostatBoost':'commandSchneiderWiserThermostatBoost',

// Tradfri
'action1': 'commandAction1',
'action2': 'commandAction2',
'action3': 'commandAction3',
'action4': 'commandAction4',
};

type MessagePayloadType =
Expand All @@ -169,7 +163,7 @@ type MessagePayloadType =
'commandSiglisZigfredButtonEvent' | 'commandDanfossSetpointCommand' | 'commandZosungSendIRCode00' |
'commandZosungSendIRCode01' | 'commandZosungSendIRCode02'|'commandZosungSendIRCode04' | 'zosungSendIRCode03Resp' |
'zosungSendIRCode05Resp' | 'commandMcuGatewayConnectionStatus' | 'commandSchneiderWiserThermostatBoost' |
'transferDataResp' | 'commandAction1' | 'commandAction2' | 'commandAction3' | 'commandAction4';
'transferDataResp';

interface MessagePayload {
type: MessagePayloadType;
Expand Down
34 changes: 0 additions & 34 deletions src/zcl/definition/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4841,40 +4841,6 @@ const Cluster: {
commandsResponse: {
},
},
tradfriButton: {
ID: 0xfc80,
manufacturerCode: ManufacturerCode.IKEA_OF_SWEDEN,
attributes: {
},
commands: {
action1: {
ID: 1,
parameters: [
{name: 'data', type: DataType.uint8},
],
},
action2: {
ID: 2,
parameters: [
{name: 'data', type: DataType.uint8},
],
},
action3: {
ID: 3,
parameters: [
{name: 'data', type: DataType.uint8},
],
},
action4: {
ID: 4,
parameters: [
{name: 'data', type: DataType.uint8},
],
},
},
commandsResponse: {
},
},
heimanSpecificInfraRedRemote: {
// from HS2IRC-3.0海曼智能红外转发控制器API-V01文档
ID: 0xfc82,
Expand Down

0 comments on commit 63063ff

Please sign in to comment.