Changed some logs from error to debug
This commit is contained in:
parent
6eceb78843
commit
9c360dff2d
@ -87,7 +87,7 @@ export class WindowCovering implements AccessoryPlugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
shngCurrentPositionCallback(value: unknown): void {
|
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') {
|
if (typeof value === 'number') {
|
||||||
this.currentPosition = this.convertRange(
|
this.currentPosition = this.convertRange(
|
||||||
value as number,
|
value as number,
|
||||||
@ -104,7 +104,7 @@ export class WindowCovering implements AccessoryPlugin {
|
|||||||
|
|
||||||
|
|
||||||
shngTargetPositionCallback(value: unknown): void {
|
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') {
|
if (typeof value === 'number') {
|
||||||
this.targetPosition = this.convertRange(
|
this.targetPosition = this.convertRange(
|
||||||
value as number,
|
value as number,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user