From bcc5cbc50eb77b8a5200b3a0ff03efef055be403 Mon Sep 17 00:00:00 2001 From: tt-tom17 <101348966+tt-tom17@users.noreply.github.com> Date: Mon, 13 Mar 2023 10:10:09 +0100 Subject: [PATCH] - 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 --- ioBroker/NsPanelTs.ts | 4 ++-- ioBroker/NsPanelTs_without_Examples.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ioBroker/NsPanelTs.ts b/ioBroker/NsPanelTs.ts index 0df8f3e6..e159cd96 100644 --- a/ioBroker/NsPanelTs.ts +++ b/ioBroker/NsPanelTs.ts @@ -6868,8 +6868,8 @@ function HandleScreensaverUpdate(): void { } else if (typeof(val) == 'boolean') { iconColor = GetScreenSaverEntityColor(config.leftScreensaverEntity[i]); - if (!val && config.bottomScreensaverEntity[i].ScreensaverEntityIconOff != null) { - icon = Icons.GetIcon(config.bottomScreensaverEntity[i].ScreensaverEntityIconOff) + if (!val && config.leftScreensaverEntity[i].ScreensaverEntityIconOff != null) { + icon = Icons.GetIcon(config.leftScreensaverEntity[i].ScreensaverEntityIconOff) } } else if (typeof(val) == 'string') { diff --git a/ioBroker/NsPanelTs_without_Examples.ts b/ioBroker/NsPanelTs_without_Examples.ts index ffa728b0..16225d29 100644 --- a/ioBroker/NsPanelTs_without_Examples.ts +++ b/ioBroker/NsPanelTs_without_Examples.ts @@ -6355,8 +6355,8 @@ function HandleScreensaverUpdate(): void { } else if (typeof(val) == 'boolean') { iconColor = GetScreenSaverEntityColor(config.leftScreensaverEntity[i]); - if (!val && config.bottomScreensaverEntity[i].ScreensaverEntityIconOff != null) { - icon = Icons.GetIcon(config.bottomScreensaverEntity[i].ScreensaverEntityIconOff) + if (!val && config.leftScreensaverEntity[i].ScreensaverEntityIconOff != null) { + icon = Icons.GetIcon(config.leftScreensaverEntity[i].ScreensaverEntityIconOff) } } else if (typeof(val) == 'string') {