From c20dab43a6535f2940eeb3cf54b32932e7de1893 Mon Sep 17 00:00:00 2001 From: tt-tom17 Date: Sat, 23 Nov 2024 00:47:01 +0100 Subject: [PATCH] DEV 4.4.0.11 - Update NSPanel.ts - Add new value 'PopupNotify' to ActivePage - Fixes #1281 --- ioBroker/DEV/NSPanelTs.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ioBroker/DEV/NSPanelTs.ts b/ioBroker/DEV/NSPanelTs.ts index d5ba8d3e..29d0215b 100644 --- a/ioBroker/DEV/NSPanelTs.ts +++ b/ioBroker/DEV/NSPanelTs.ts @@ -1,5 +1,5 @@ /*----------------------------------------------------------------------- -TypeScript v4.4.0.10 zur Steuerung des SONOFF NSPanel mit dem ioBroker by @Armilar / @TT-Tom / @ticaki / @Britzelpuf / @Sternmiere / @ravenS0ne +TypeScript v4.4.0.11 zur Steuerung des SONOFF NSPanel mit dem ioBroker by @Armilar / @TT-Tom / @ticaki / @Britzelpuf / @Sternmiere / @ravenS0ne - abgestimmt auf TFT 53 / v4.4.0 / BerryDriver 9 / Tasmota 14.3.0 @joBr99 Projekt: https://github.com/joBr99/nspanel-lovelace-ui/tree/main/ioBroker NsPanelTs.ts (dieses TypeScript in ioBroker) Stable: https://github.com/joBr99/nspanel-lovelace-ui/blob/main/ioBroker/NsPanelTs.ts @@ -133,6 +133,7 @@ ReleaseNotes: - 26.10.2024 - v4.4.0.8 Add Custom Icon Object to cartdThermo (Climate Alias Channel - 31.10.2024 - v4.4.0.9 Fix: del 'HandleMessage()' in Trigger 'activeDimmodeBrightness' - 22.11.2024 - v4.4.0.10 Fix: Bug #1266 trigger timeoutScreensaver + - 22.11.2024 - v4.4.0.11 Add new value 'PopupNotify' to ActivePage Todo: - XX.12.2024 - v5.0.0 ioBroker Adapter @@ -1002,7 +1003,7 @@ export const config: Config = { // _________________________________ DE: Ab hier keine Konfiguration mehr _____________________________________ // _________________________________ EN: No more configuration from here _____________________________________ -const scriptVersion: string = 'v4.4.0.10'; +const scriptVersion: string = 'v4.4.0.11'; const tft_version: string = 'v4.4.0'; const desired_display_firmware_version = 53; const berry_driver_version = 9; @@ -2620,6 +2621,10 @@ async function InitPopupNotify() { if (heading != '' && text != '') { setIfExists(config.panelSendTopic, 'pageType~popupNotify'); setIfExists(config.panelSendTopic, notification); + // Set ActivePage + setIfExists(NSPanel_Path + 'ActivePage.type', 'popupNotify', null, true); + setIfExists(NSPanel_Path + 'ActivePage.heading', heading, null, true); + setIfExists(NSPanel_Path + 'ActivePage.id0', '', null, true); } //------ Tasmota Buzzer ------