Skip to content

Commit

Permalink
fix(vendor.viomi): consumables command fix for viaomi.v8 (#677)
Browse files Browse the repository at this point in the history
Co-authored-by: Roman Romanchenko <rromanchenko@sipwise.com>
  • Loading branch information
rromrrom and Roman Romanchenko committed Feb 4, 2021
1 parent 5e037c2 commit bef609e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ViomiConsumableMonitoringCapability extends ConsumableMonitoringCapability
* @returns {Promise<Array<import("../../../entities/state/attributes/ConsumableStateAttribute")>>}
*/
async getConsumables() {
const data = await this.robot.sendCommand("get_consumable");
const data = await this.robot.sendCommand("get_consumables");
const rawConsumables = {
mainBrush: data[0],
sideBrush: data[1],
Expand Down

0 comments on commit bef609e

Please sign in to comment.