From 3286a5f9e80f8d1dad1012db817ce2a88125df1b Mon Sep 17 00:00:00 2001 From: prawnPANDI <67379479+prawnPANDI@users.noreply.github.com> Date: Tue, 18 Oct 2022 20:10:39 +0800 Subject: [PATCH] Updating experimental feature to log as info --- src/client.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client.ts b/src/client.ts index 10d1860..651468c 100644 --- a/src/client.ts +++ b/src/client.ts @@ -88,7 +88,7 @@ export class AmbiClimateClient { async fetchStatus(force = false) { // Allow Update every 4 minutes and 30 seconds if (Date.now() - this.lastUpdateTime < 1000 * 60 * 4.5 && !force) { - this.log.info('Skip fetching status'); + this.log.error('Skip fetching status'); return; } @@ -123,7 +123,7 @@ export class AmbiClimateClient { } this.lastUpdateTime = Date.now(); - this.log.info('Fetching status success'); + this.log.error('Fetching status success'); } catch (error) { if (error instanceof Error) { this.log.error(error.message);