From b8e940e137b72e3687b91a4d602dfc7086a16cbd Mon Sep 17 00:00:00 2001 From: Nico Hartung Date: Tue, 27 Mar 2018 16:02:49 +0200 Subject: [PATCH] Fixed Type for filterWorkTime and sensorDirtyTime 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 }, --- lib/devices/vacuum.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/devices/vacuum.js b/lib/devices/vacuum.js index 2c0c38e..d116bee 100644 --- a/lib/devices/vacuum.js +++ b/lib/devices/vacuum.js @@ -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' });