From 9c360dff2d8960a90102eec015d7ddd87725b999 Mon Sep 17 00:00:00 2001 From: Serge Wagener Date: Wed, 9 Feb 2022 20:03:17 +0100 Subject: [PATCH] Changed some logs from error to debug --- src/Accessories/WindowCovering.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Accessories/WindowCovering.ts b/src/Accessories/WindowCovering.ts index c525787..6280e59 100644 --- a/src/Accessories/WindowCovering.ts +++ b/src/Accessories/WindowCovering.ts @@ -87,7 +87,7 @@ export class WindowCovering implements AccessoryPlugin { } shngCurrentPositionCallback(value: unknown): void { - this.platform.log.error('shngCurrentPositionCallback:', this.accessory.name, '=', value, '(' + typeof value + ')'); + this.platform.log.debug('shngCurrentPositionCallback:', this.accessory.name, '=', value, '(' + typeof value + ')'); if (typeof value === 'number') { this.currentPosition = this.convertRange( value as number, @@ -104,7 +104,7 @@ export class WindowCovering implements AccessoryPlugin { shngTargetPositionCallback(value: unknown): void { - this.platform.log.error('shngTargetPositionCallback:', this.accessory.name, '=', value, '(' + typeof value + ')'); + this.platform.log.debug('shngTargetPositionCallback:', this.accessory.name, '=', value, '(' + typeof value + ')'); if (typeof value === 'number') { this.targetPosition = this.convertRange( value as number,