Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Updating experimental feature to log as info #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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);
Expand Down