From 01392bcbf807aa17c25f86d6a86fe5c12d3b6e65 Mon Sep 17 00:00:00 2001 From: ticaki Date: Tue, 16 Jan 2024 16:32:38 +0100 Subject: [PATCH] fix unsubscribePowerSubscriptions --- ioBroker/DEV/NSPanelTs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ioBroker/DEV/NSPanelTs.ts b/ioBroker/DEV/NSPanelTs.ts index 08859d14..b686805b 100644 --- a/ioBroker/DEV/NSPanelTs.ts +++ b/ioBroker/DEV/NSPanelTs.ts @@ -6011,7 +6011,7 @@ function unsubscribePowerSubscriptions(): void { } } for (let i = 0; i < config.subPages.length; i++) { - const page: NSPanel.PageType = config.pages[i]; + const page: NSPanel.PageType = config.subPages[i]; if (isPagePower(page)) { let powerID = page.items[0].id; unsubscribe(powerID + '.ACTUAL');