From 993644b8cdfb8d3777461cb1abe4fccb4a73e4ae Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Mon, 11 Dec 2023 19:17:37 +0100 Subject: [PATCH] Revert "fix: Correct LiXee logging (#6672)" (#6684) This reverts commit 5e2b0b2ddd604eb216c31a62ecd520de292c3839. --- src/devices/lixee.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/lixee.ts b/src/devices/lixee.ts index 31954a890be51..b8472ca29c176 100644 --- a/src/devices/lixee.ts +++ b/src/devices/lixee.ts @@ -661,7 +661,7 @@ const legacyData = [ const exposedData = [allPhaseData, singlePhaseData, threePhasesData, legacyData].flat(); -function getCurrentConfig(device: Zh.Device, options: KeyValue, logger?: Logger) { +function getCurrentConfig(device: Zh.Device, options: KeyValue, logger: Logger = console) { let endpoint: Zh.Endpoint; try { endpoint = device.getEndpoint(1);