Skip to content

Commit

Permalink
Fixed Type for filterWorkTime and sensorDirtyTime
Browse files Browse the repository at this point in the history
Before

{ state: 'cleaning',
  batteryLevel: 78,
  cleanTime: 925,
  cleanArea: 17.05,
  fanSpeed: 38,
  in_cleaning: 0,
  mainBrushWorkTime: 363402,
  sideBrushWorkTime: 363402 },

Now:

{ state: 'cleaning',
  batteryLevel: 78,
  cleanTime: 925,
  cleanArea: 17.05,
  fanSpeed: 38,
  in_cleaning: 0,
  mainBrushWorkTime: 363402,
  sideBrushWorkTime: 363402,
  filterWorkTime: 363402,
  sensorDirtyTime: 248889 },
  • Loading branch information
nicoh88 authored Mar 27, 2018
1 parent fcd0f00 commit b8e940e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/devices/vacuum.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ module.exports = class extends Vacuum.with(
this.defineProperty('side_brush_work_time', {
name: 'sideBrushWorkTime'
});
this.defineProperty('filterWorkTime', {
this.defineProperty('filter_work_time', {
name: 'filterWorkTime'
});
this.defineProperty('sensorDirtyTime', {
this.defineProperty('sensor_dirty_time', {
name: 'sensorDirtyTime'
});

Expand Down

0 comments on commit b8e940e

Please sign in to comment.