Skip to content

Commit

Permalink
fix(vacuum): missing roborock onStatusChange implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed May 16, 2020
1 parent 84e284c commit cd42a7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/devices/MiioVacuum.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class MiioVacuum {
// Deal with any changes that we observed.
const diffKeys = Object.keys(diff);
if (diffKeys.length != 0) {
Logger.info("New Status:", diff);
Logger.trace("New Status:", diff);
this.events.emitStatusUpdated(this.status);
this.onStatusChange(diffKeys);
}
Expand Down
3 changes: 3 additions & 0 deletions lib/devices/Roborock.js
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,9 @@ class Roborock extends MiioVacuum {
async setLabStatus(flag) {
throw new NotImplementedError();
}

onStatusChange(changedProperties) {
}
}

/** Device specific status code mapping. */
Expand Down

0 comments on commit cd42a7e

Please sign in to comment.