Skip to content

Commit

Permalink
revert updateCleaningState change
Browse files Browse the repository at this point in the history
apexad committed Jun 7, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent bad28b2 commit fc8e021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -126,7 +126,7 @@ class EufyRoboVacAccessory {

updateCleaningState(state: boolean) {
this.log.debug('Cleaning State -> %s', state);
this.fanService.setCharacteristic(Characteristic.On, state);
this.fanService.getCharacteristic(Characteristic.On).updateValue(state)
}

async getCleanState(callback: Function) {

0 comments on commit fc8e021

Please sign in to comment.