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 f546fc090b
commit c385e5b147

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" });