From 30e968e633d0eaf5749fc6bb0a55407e2c032963 Mon Sep 17 00:00:00 2001 From: Josh Strange Date: Fri, 17 May 2019 14:17:43 -0400 Subject: [PATCH] Removing unneeded code that might cause the wrong status to show --- package.json | 2 +- src/index.ts | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/package.json b/package.json index 2caac47..c7a0300 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "homebridge-eufy-robovac", - "version": "1.0.0", + "version": "1.0.1", "description": "Homebridge support for Eufy RoboVac", "main": "dist/index.js", "dependencies": { diff --git a/src/index.ts b/src/index.ts index fb1fa6c..22b7cb9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -120,9 +120,6 @@ class EufyRoboVacAccessory { await sleep(2000); await this.roboVac.goHome(); } - setTimeout(async () => { - this.updateCleaningState(await this.roboVac.getPlayPause()); - }, 1000); callback(); }