Skip to content

Commit 5e189c0

Browse files
committed
fix: do not rename attr
1 parent 39afdc4 commit 5e189c0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/controller/model/endpoint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1766,7 +1766,7 @@ export class Endpoint extends ZigbeeEntity {
17661766
await this.zclCommand(
17671767
"genScenes",
17681768
"recall",
1769-
{groupid: groupId, sceneid: sceneId, transtime: transTime},
1769+
{groupid: groupId, sceneid: sceneId, transitionTime: transTime},
17701770
optionsWithDefaults,
17711771
undefined,
17721772
true, // only get defaultRsp if error occurred, or if requested defaultRsp

src/controller/model/group.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ export class Group extends ZigbeeEntity {
339339
public async recallScene(sceneId: number, transTime: number, options?: Options): Promise<void> {
340340
const optionsWithDefaults = this.getOptionsWithDefaults(options, Zcl.Direction.CLIENT_TO_SERVER, undefined);
341341

342-
await this.command("genScenes", "recall", {groupid: this.groupID, sceneid: sceneId, transtime: transTime}, optionsWithDefaults);
342+
await this.command("genScenes", "recall", {groupid: this.groupID, sceneid: sceneId, transitionTime: transTime}, optionsWithDefaults);
343343

344344
this.syncStateFromScene(sceneId);
345345
}

0 commit comments

Comments
 (0)