Skip to content

Commit

Permalink
Remove sending command of RotationSpeedOn
Browse files Browse the repository at this point in the history
  • Loading branch information
0x5e committed Dec 26, 2022
1 parent 20e91f7 commit 3efa431
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/accessory/characteristic/RotationSpeed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,5 @@ export function configureRotationSpeedOn(
const status = accessory.getStatus(schema.code)!;
return (status.value as boolean) ? 100 : 0;
})
.onSet(value => {
accessory.sendCommands([{ code: schema.code, value: (value > 50) ? true : false }], true);
})
.setProps(props);
}

0 comments on commit 3efa431

Please sign in to comment.