Skip to content

Commit

Permalink
Corrects requirement for async/await in promise for fetch request.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkormendy committed Apr 2, 2024
1 parent 9230111 commit 5de1284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5de1284

Please # to comment.