From b3a6b84fa6cbfbe17e4c08dda7afa63728282149 Mon Sep 17 00:00:00 2001 From: apexad <1437332+apexad@users.noreply.github.com> Date: Wed, 10 Jun 2020 22:30:14 -0700 Subject: [PATCH] fix: correct name, hideFindButton, debugLog vars --- src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index b3b8b92..16d2d52 100644 --- a/src/index.ts +++ b/src/index.ts @@ -43,9 +43,9 @@ class EufyRoboVacAccessory { localKey: config.localKey, }; this.services = []; - this.name = this.config.name || 'Eufy RoboVac'; - this.hideFindButton = this.config.hideFindButton || false; - this.debugLog = this.config.debugLog; + this.name = config.name || 'Eufy RoboVac'; + this.hideFindButton = config.hideFindButton || false; + this.debugLog = config.debugLog; // Vacuum cleaner is not available in Homekit yet, register as Fan