mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-22 22:18:38 +01:00
Update NSPanelTs.ts
Fix: bottomScreensaverEntity[i].ScreensaverEntityIconColor Zeile 8899
This commit is contained in:
@@ -8839,9 +8839,10 @@ function HandleScreensaverUpdate(): void {
|
|||||||
iconColor + '~' +
|
iconColor + '~' +
|
||||||
config.bottomScreensaverEntity[4].ScreensaverEntityText + '~' +
|
config.bottomScreensaverEntity[4].ScreensaverEntityText + '~' +
|
||||||
val
|
val
|
||||||
}
|
} // Ende zusätzlichen Status Alternativ Layout
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
// USER definierte Bottom Entities
|
||||||
let checkpoint = true;
|
let checkpoint = true;
|
||||||
let i = 0;
|
let i = 0;
|
||||||
for (i = 0; i < maxEntities - 1 && i < config.bottomScreensaverEntity.length; i++) {
|
for (i = 0; i < maxEntities - 1 && i < config.bottomScreensaverEntity.length; i++) {
|
||||||
@@ -8895,7 +8896,7 @@ function HandleScreensaverUpdate(): void {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const temp = config.bottomScreensaverEntity[4].ScreensaverEntityIconColor
|
const temp = config.bottomScreensaverEntity[i].ScreensaverEntityIconColor
|
||||||
if (temp && typeof temp == 'string' && existsObject(temp)) {
|
if (temp && typeof temp == 'string' && existsObject(temp)) {
|
||||||
iconColor = getState(temp).val;
|
iconColor = getState(temp).val;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user