mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-22 23:44:25 +01:00
Fix Startup routine
This commit is contained in:
@@ -158,6 +158,7 @@ function HandleMessage(typ: string, method: string, page: number, words: Array<s
|
|||||||
case "startup":
|
case "startup":
|
||||||
UnsubscribeWatcher();
|
UnsubscribeWatcher();
|
||||||
HandleStartupProcess();
|
HandleStartupProcess();
|
||||||
|
GeneratePage(config.pages[0]);
|
||||||
break;
|
break;
|
||||||
case "buttonPress2":
|
case "buttonPress2":
|
||||||
HandleButtonEvent(words);
|
HandleButtonEvent(words);
|
||||||
@@ -808,4 +809,4 @@ type Config = {
|
|||||||
pages: (PageThermo | PageEntities | PageGrid)[],
|
pages: (PageThermo | PageEntities | PageGrid)[],
|
||||||
button1Page: (PageThermo | PageEntities | PageGrid | null),
|
button1Page: (PageThermo | PageEntities | PageGrid | null),
|
||||||
button2Page: (PageThermo | PageEntities | PageGrid | null),
|
button2Page: (PageThermo | PageEntities | PageGrid | null),
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user