From c9e8d05cbeb294bd9e282bf8361127d2aff34140 Mon Sep 17 00:00:00 2001 From: Walter Zengel Date: Sun, 10 Jul 2022 09:52:48 +0200 Subject: [PATCH] ThermoPage as first Page The script will generate an error if a thermal page is selected as the first page. --- ioBroker/NsPanelTs.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ioBroker/NsPanelTs.ts b/ioBroker/NsPanelTs.ts index 9ce83fd1..67d4ea94 100644 --- a/ioBroker/NsPanelTs.ts +++ b/ioBroker/NsPanelTs.ts @@ -1472,6 +1472,7 @@ function GetUnitOfMeasurement(id: string): string { } function GenerateThermoPage(page: PageThermo): Payload[] { + activePage = page; var id = page.items[0].id var out_msgs: Array = []; out_msgs.push({ payload: "pageType~cardThermo" });