From 105fb3aecb24d3138a71f746a00cab164c954da4 Mon Sep 17 00:00:00 2001 From: Darius Date: Thu, 5 Feb 2026 23:34:53 +0100 Subject: [PATCH] log --- src/homepage/service.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/homepage/service.ts b/src/homepage/service.ts index e425d69..2b582ec 100644 --- a/src/homepage/service.ts +++ b/src/homepage/service.ts @@ -7,7 +7,7 @@ import { TidalGetCurrent, type ServiceResult, } from "@dpu/shared"; -import { logWarning } from "@dpu/shared/dist/logger.js"; +import { logInfo, logWarning } from "@dpu/shared/dist/logger.js"; import { HomeAssistantService } from "../homeassistant/service"; import { TidalService } from "../tidal/service"; @@ -137,12 +137,15 @@ export class HomepageService extends BaseService { } startPolling(): void { + logInfo("Polling started"); this.pollingInterval = setInterval(() => { + logInfo("Polling now"); this.getFullInformation(); }, 30000); } stopPolling(): void { + logInfo("Polling ended"); if (this.pollingInterval) { clearInterval(this.pollingInterval); }