Changed some logs from error to debug

This commit is contained in:
Serge Wagener 2022-02-09 20:03:17 +01:00
parent 6eceb78843
commit 9c360dff2d

View File

@ -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,