ThermoPage as first Page

The script will generate an error if a thermal page is selected as the first page.
This commit is contained in:
Walter Zengel
2022-07-10 09:52:48 +02:00
committed by GitHub
parent d993e66883
commit c9e8d05cbe

View File

@@ -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<Payload> = [];
out_msgs.push({ payload: "pageType~cardThermo" });