From a0aba9e53c1a88ceb852ac970c2377f244dda5ed Mon Sep 17 00:00:00 2001 From: Martin Reinhardt Date: Sat, 10 Jun 2023 08:58:35 +0200 Subject: [PATCH] fix(Log): Correctly pass log to update checker fixes #601 --- platform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.js b/platform.js index 1b6ad443..af83be47 100644 --- a/platform.js +++ b/platform.js @@ -45,7 +45,7 @@ const BroadlinkRMPlatform = class extends HomebridgePlatform { this.discoverBroadlinkDevices(); this.showMessage(); - setTimeout(checkForUpdates, 1800); + setTimeout(() => checkForUpdates(log), 1800); if (!config.accessories) {config.accessories = []}