From e2d30353fb3a761eda7c14bc2c90bccc9837ba42 Mon Sep 17 00:00:00 2001 From: Serge Wagener Date: Tue, 15 Mar 2022 07:36:22 +0100 Subject: [PATCH] Update Fan.ts --- src/Accessories/Fan.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Accessories/Fan.ts b/src/Accessories/Fan.ts index 26e1eb1..2fe8a2b 100644 --- a/src/Accessories/Fan.ts +++ b/src/Accessories/Fan.ts @@ -72,7 +72,7 @@ export class Fan implements AccessoryPlugin { } shngActiveCallback(value: unknown): void { - this.platform.log.debug('shngCallback:', this.accessory.name, '=', value, '(' + typeof value + ')'); + this.platform.log.debug('shngActiveCallback:', this.accessory.name, '=', value, '(' + typeof value + ')'); if (typeof value === 'boolean') { this.active = value; this.deviceService.updateCharacteristic(this.platform.Characteristic.Active, this.active); @@ -82,7 +82,7 @@ export class Fan implements AccessoryPlugin { } shngRotationSpeedCallback(value: unknown): void { - this.platform.log.debug('shngCallback:', this.accessory.name, '=', value, '(' + typeof value + ')'); + this.platform.log.debug('shngRotationSpeedCallback:', this.accessory.name, '=', value, '(' + typeof value + ')'); if (typeof value === 'number') { this.rotationSpeed = value; this.deviceService.updateCharacteristic(this.platform.Characteristic.RotationSpeed, this.rotationSpeed);