Skip to content

Commit

Permalink
Fix for the air purifier changing the on/off state
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Rhodes committed Jan 1, 2020
1 parent e7a7a19 commit 886b5be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions accessories/air-purifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ class AirPurifierAccessory extends FanAccessory {
bind: this,
props: {
onData: targetStateManual,
offData: targetStateAuto,
setValuePromise: this.setSwitchState.bind(this)
offData: targetStateAuto
}
});

Expand Down

0 comments on commit 886b5be

Please sign in to comment.