From cbf6abf4dd4b0cfdc5981264c5cdeced73cad8d9 Mon Sep 17 00:00:00 2001 From: Armilar <102996011+Armilar@users.noreply.github.com> Date: Mon, 30 Jun 2025 12:02:17 +0200 Subject: [PATCH] v4.9.0 - DEV Update NSPanelTs.ts Small Fixes --- ioBroker/DEV/NSPanelTs.ts | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/ioBroker/DEV/NSPanelTs.ts b/ioBroker/DEV/NSPanelTs.ts index 2a3c34c4..07c496ed 100644 --- a/ioBroker/DEV/NSPanelTs.ts +++ b/ioBroker/DEV/NSPanelTs.ts @@ -959,9 +959,9 @@ export const config: Config = { // _________________________________ DE: Ab hier keine Konfiguration mehr _____________________________________ // _________________________________ EN: No more configuration from here _____________________________________ -const scriptVersion: string = 'v4.9.0.1'; -const tft_version: string = 'v4.9.0'; -const desired_display_firmware_version = 58; +const scriptVersion: string = 'v4.7.5.1'; +const tft_version: string = 'v4.7.5'; +const desired_display_firmware_version = 56; const berry_driver_version = 9; const tasmotaOtaUrl: string = 'http://ota.tasmota.com/tasmota32/release/'; @@ -5130,6 +5130,8 @@ function CreateEntity (pageItem: PageItem, placeId: number, useColors: boolean = case 'temperature': + case 'illuminance': + case 'value.temperature': case 'value.humidity': @@ -5241,7 +5243,7 @@ function CreateEntity (pageItem: PageItem, placeId: number, useColors: boolean = if (pageItem.popupVersion !== undefined) { if (pageItem.popupVersion == 1) { type = 'light'; - } else if (pageItem.popupVersion == 2){ + } else if (pageItem.popupVersion == 2) { type = 'light2'; } } @@ -5643,6 +5645,8 @@ function CreateEntity (pageItem: PageItem, placeId: number, useColors: boolean = case 'humidity': + case 'illuminance': + case 'temperature': case 'value.temperature': @@ -7680,7 +7684,7 @@ function GenerateMediaPage (page: NSPanel.PageMedia): NSPanel.Payload[] { 'input_sel' + '~' + tid + '?tracklist' + '~' + Icons.GetIcon('animation-play-outline') + '~' + trackListIconCol + '~' + findLocale('media', 'tracklist') + '~' + 'media2~'; } - //InSel EQ + // InSel/Slider EQ let equalizerListString: string = '~~~~~~'; let equalizerListIconCol = rgb_dec565(HMIOff); @@ -13622,6 +13626,7 @@ function isPopupType (F: NSPanel.PopupType | string): F is NSPanel.PopupType { case 'popupThermo': case 'popupTimer': case 'popupSlider': + case 'popupColor': return true; default: log(`Please report to developer: Unknown NSPanel.PopupType: ${F} `, 'warn'); @@ -13648,7 +13653,7 @@ function isPagePower (F: NSPanel.PageType | NSPanel.PagePower): F is NSPanel.Pag } namespace NSPanel { - export type PopupType = 'popupFan' | 'popupInSel' | 'popupLight' | 'popupNotify' | 'popupShutter' | 'popupShutter2' | 'popupSlider' | 'popupThermo' | 'popupTimer'; + export type PopupType = 'popupFan' | 'popupInSel' | 'popupLight' | 'popupNotify' | 'popupShutter' | 'popupShutter2' | 'popupSlider' | 'popupThermo' | 'popupTimer' | 'popupColor'; export type EventMethod = 'startup' | 'sleepReached' | 'pageOpenDetail' | 'buttonPress2' | 'renderCurrentPage' | 'button1' | 'button2'; export type panelRecvType = { @@ -13701,7 +13706,8 @@ namespace NSPanel { | 'switch.mode.wlan' | 'media' | 'timeTable' - | 'airCondition'; + | 'airCondition' + | 'illuminance'; export type ButtonActionType = | 'bExit'