mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-20 06:27:01 +01:00
Update v4.1.4.4 NsPanelTs_without_Examples.ts
- 12.08.2023 - v4.1.4 Upgrade TFT 51 / 4.1.4 - 12.08.2023 - v4.1.4.1 Fix Label CANCEL for popupTimer - 12.08.2023 - v4.1.4.1 Fix TypeScript Error (JS-Adapter > 7.1.X) by Gargano - 12.08.2023 - v4.1.4.1 CardGRid with maxItems = 8 - 12.08.2023 - v4.1.4.2 Add onStop function() to Schedules - 13.08.2023 - v4.1.4.3 Add InSel to popUpLight - 13.08.2023 - v4.1.4.4 Add Parameter inSel_ChoiceState to InSel to show/hide Focus
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
TypeScript v4.1.4.3 zur Steuerung des SONOFF NSPanel mit dem ioBroker by @Armilar / @Sternmiere / @Britzelpuf / @ravenS0ne / @TT-Tom
|
TypeScript v4.1.4.4 zur Steuerung des SONOFF NSPanel mit dem ioBroker by @Armilar / @Sternmiere / @Britzelpuf / @ravenS0ne / @TT-Tom
|
||||||
- abgestimmt auf TFT 51 / v4.1.4 / BerryDriver 8 / Tasmota 13.0.0
|
- abgestimmt auf TFT 51 / v4.1.4 / BerryDriver 8 / Tasmota 13.0.0
|
||||||
@joBr99 Projekt: https://github.com/joBr99/nspanel-lovelace-ui/tree/main/ioBroker
|
@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
|
NsPanelTs.ts (dieses TypeScript in ioBroker) Stable: https://github.com/joBr99/nspanel-lovelace-ui/blob/main/ioBroker/NsPanelTs.ts
|
||||||
@@ -147,7 +147,8 @@ ReleaseNotes:
|
|||||||
- 12.08.2023 - v4.1.4.1 Fix TypeScript Error (JS-Adapter > 7.1.X) by Gargano
|
- 12.08.2023 - v4.1.4.1 Fix TypeScript Error (JS-Adapter > 7.1.X) by Gargano
|
||||||
- 12.08.2023 - v4.1.4.1 CardGRid with maxItems = 8
|
- 12.08.2023 - v4.1.4.1 CardGRid with maxItems = 8
|
||||||
- 12.08.2023 - v4.1.4.2 Add onStop function() to Schedules
|
- 12.08.2023 - v4.1.4.2 Add onStop function() to Schedules
|
||||||
- 12.08.2023 - v4.1.4.3 Add InSel to popUpLight
|
- 13.08.2023 - v4.1.4.3 Add InSel to popUpLight
|
||||||
|
- 13.08.2023 - v4.1.4.4 Add Parameter inSel_ChoiceState to InSel to show/hide Focus
|
||||||
|
|
||||||
|
|
||||||
***********************************************************************************************************
|
***********************************************************************************************************
|
||||||
@@ -6424,9 +6425,12 @@ function GenerateDetailPage(type: string, optional: string, pageItem: PageItem):
|
|||||||
} else if (o.common.role == 'buttonSensor') {
|
} else if (o.common.role == 'buttonSensor') {
|
||||||
|
|
||||||
let actualValue: string = '';
|
let actualValue: string = '';
|
||||||
if (existsObject(pageItem.id + '.VALUE')) {
|
|
||||||
actualValue = formatInSelText(pageItem.modeList[getState(pageItem.id + '.VALUE').val]);
|
if (pageItem.inSel_ChoiceState || pageItem.inSel_ChoiceState == undefined) {
|
||||||
RegisterDetailEntityWatcher(id + '.VALUE', pageItem, type);
|
if (existsObject(pageItem.id + '.VALUE')) {
|
||||||
|
actualValue = formatInSelText(pageItem.modeList[getState(pageItem.id + '.VALUE').val]);
|
||||||
|
RegisterDetailEntityWatcher(id + '.VALUE', pageItem, type);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let tempModeList = [];
|
let tempModeList = [];
|
||||||
@@ -6454,9 +6458,12 @@ function GenerateDetailPage(type: string, optional: string, pageItem: PageItem):
|
|||||||
if (pageItem.modeList != undefined) {
|
if (pageItem.modeList != undefined) {
|
||||||
|
|
||||||
let actualValue: string = '';
|
let actualValue: string = '';
|
||||||
if (existsObject(pageItem.id + '.VALUE')) {
|
|
||||||
actualValue = formatInSelText(pageItem.modeList[getState(pageItem.id + '.VALUE').val]);
|
if (pageItem.inSel_ChoiceState || pageItem.inSel_ChoiceState == undefined) {
|
||||||
RegisterDetailEntityWatcher(id + '.VALUE', pageItem, type);
|
if (existsObject(pageItem.id + '.VALUE')) {
|
||||||
|
actualValue = formatInSelText(pageItem.modeList[getState(pageItem.id + '.VALUE').val]);
|
||||||
|
RegisterDetailEntityWatcher(id + '.VALUE', pageItem, type);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let tempModeList = [];
|
let tempModeList = [];
|
||||||
@@ -7806,6 +7813,7 @@ type PageItem = {
|
|||||||
popupOptions: (string[] | undefined),
|
popupOptions: (string[] | undefined),
|
||||||
useValue: (boolean | undefined),
|
useValue: (boolean | undefined),
|
||||||
monobutton: (boolean | undefined)
|
monobutton: (boolean | undefined)
|
||||||
|
inSel_ChoiceState: (boolean | undefined)
|
||||||
}
|
}
|
||||||
|
|
||||||
type DimMode = {
|
type DimMode = {
|
||||||
|
|||||||
Reference in New Issue
Block a user