mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-20 06:27:01 +01:00
- Funktion GeneratePowerPage angepasst. Demomodus aktualisiert
- Issue 801 gefixt - Beschreibung der Rule2 angepasst - Beschreibung config / Button1: angepasst (String) - GetIconColor scale(100- ... angepasst - Fix function HandleScreensaverUpdate (left Entities) type boolean auf 'left' angepasst
This commit is contained in:
@@ -6868,8 +6868,8 @@ function HandleScreensaverUpdate(): void {
|
|||||||
}
|
}
|
||||||
else if (typeof(val) == 'boolean') {
|
else if (typeof(val) == 'boolean') {
|
||||||
iconColor = GetScreenSaverEntityColor(config.leftScreensaverEntity[i]);
|
iconColor = GetScreenSaverEntityColor(config.leftScreensaverEntity[i]);
|
||||||
if (!val && config.bottomScreensaverEntity[i].ScreensaverEntityIconOff != null) {
|
if (!val && config.leftScreensaverEntity[i].ScreensaverEntityIconOff != null) {
|
||||||
icon = Icons.GetIcon(config.bottomScreensaverEntity[i].ScreensaverEntityIconOff)
|
icon = Icons.GetIcon(config.leftScreensaverEntity[i].ScreensaverEntityIconOff)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (typeof(val) == 'string') {
|
else if (typeof(val) == 'string') {
|
||||||
|
|||||||
@@ -6355,8 +6355,8 @@ function HandleScreensaverUpdate(): void {
|
|||||||
}
|
}
|
||||||
else if (typeof(val) == 'boolean') {
|
else if (typeof(val) == 'boolean') {
|
||||||
iconColor = GetScreenSaverEntityColor(config.leftScreensaverEntity[i]);
|
iconColor = GetScreenSaverEntityColor(config.leftScreensaverEntity[i]);
|
||||||
if (!val && config.bottomScreensaverEntity[i].ScreensaverEntityIconOff != null) {
|
if (!val && config.leftScreensaverEntity[i].ScreensaverEntityIconOff != null) {
|
||||||
icon = Icons.GetIcon(config.bottomScreensaverEntity[i].ScreensaverEntityIconOff)
|
icon = Icons.GetIcon(config.leftScreensaverEntity[i].ScreensaverEntityIconOff)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (typeof(val) == 'string') {
|
else if (typeof(val) == 'string') {
|
||||||
|
|||||||
Reference in New Issue
Block a user