Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allowPush support for IR Devices #529 (with namespace fix) #532

Merged
merged 14 commits into from
Oct 15, 2022
Merged
2 changes: 1 addition & 1 deletion src/irdevice/fan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export class Fan {
* Fan - "command" "middleSpeed" "default" = fan speed to medium
* Fan - "command" "highSpeed" "default" = fan speed to high
*/
async pushFanOffChanges(): Promise<void> {
async pushFanOnChanges(): Promise<void> {
if (this.Active !== 1 || this.allowPush) {
const commandType: string = await this.commandType();
const command: string = await this.commandOn();
Expand Down