mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-18 19:06:58 +01:00
add maxEntities
This commit is contained in:
@@ -10979,6 +10979,8 @@ function HandleScreensaverUpdate(): void {
|
|||||||
maxEntities = 5;
|
maxEntities = 5;
|
||||||
if (getState(NSPanel_Path + 'Config.Screensaver.alternativeScreensaverLayout').val) {
|
if (getState(NSPanel_Path + 'Config.Screensaver.alternativeScreensaverLayout').val) {
|
||||||
maxEntities = 6;
|
maxEntities = 6;
|
||||||
|
} else if (getState(NSPanel_Path + ScreensaverEasyViewEndPath).val) {
|
||||||
|
maxEntities = 4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user