From 5de12843de91bb7ea011e04dd2a6b8d2f2f2dd2e Mon Sep 17 00:00:00 2001 From: Mike Kormendy Date: Tue, 2 Apr 2024 01:24:10 -0700 Subject: [PATCH] Corrects requirement for async/await in promise for fetch request. --- src/platform.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform.ts b/src/platform.ts index 32a20ee..3a5ac9e 100755 --- a/src/platform.ts +++ b/src/platform.ts @@ -488,7 +488,7 @@ export class KonnectedHomebridgePlatform implements DynamicPlatformPlugin { * @param panelObject PanelObjectInterface The status response object of the plugin from discovery. * @param listenerObject object Details object for this plugin's listening server. */ - provisionPanel(panelUUID: string, panelObject: PanelObjectInterface, listenerObject) { + async provisionPanel(panelUUID: string, panelObject: PanelObjectInterface, listenerObject) { let panelIP: string = panelObject.ip; let panelPort: number = panelObject.port; let panelBlink = true;