mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-21 23:14:25 +01:00
DEV 4.4.0.11 - Update NSPanel.ts
- Add new value 'PopupNotify' to ActivePage - Fixes #1281
This commit is contained in:
@@ -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 ------
|
||||
|
||||
Reference in New Issue
Block a user