mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-19 22:24:15 +01:00
Update NsPanelTs.ts
fix demomodus cradPower
This commit is contained in:
@@ -6107,8 +6107,6 @@ function subscribePowerSubscriptions(id: string): void {
|
||||
function GeneratePowerPage(page: NSPanel.PagePower): NSPanel.Payload[] {
|
||||
try {
|
||||
|
||||
if (!page.items[0].id) throw new Error ('Missing pageItem.id for PowerPage!');
|
||||
|
||||
let obj:object = {};
|
||||
let demoMode = false;
|
||||
if (page.items[0].id == undefined){
|
||||
|
||||
Reference in New Issue
Block a user