Skip to content

Commit

Permalink
fix: Correct LiXee logging (#6672)
Browse files Browse the repository at this point in the history
* Correct lixee.ts logging

With Logger = console, debug log "zlinky config:" are spamming the console

* Correct errors
  • Loading branch information
qp68 authored Dec 10, 2023
1 parent abe682d commit 5e2b0b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/lixee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ const legacyData = [

const exposedData = [allPhaseData, singlePhaseData, threePhasesData, legacyData].flat();

function getCurrentConfig(device: Zh.Device, options: KeyValue, logger: Logger = console) {
function getCurrentConfig(device: Zh.Device, options: KeyValue, logger?: Logger) {
let endpoint: Zh.Endpoint;
try {
endpoint = device.getEndpoint(1);
Expand Down

0 comments on commit 5e2b0b2

Please sign in to comment.