mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-19 22:24:15 +01:00
v4.9.5.1 - DEV Update NSPanelTs.ts
Small fixes
This commit is contained in:
@@ -5851,7 +5851,11 @@ function CreateEntity (pageItem: PageItem, placeId: number, useColors: boolean =
|
|||||||
|
|
||||||
if (pageItem.useValue) {
|
if (pageItem.useValue) {
|
||||||
if (pageItem.fontSize != undefined) {
|
if (pageItem.fontSize != undefined) {
|
||||||
|
if (pageItem.suffixName == undefined) {
|
||||||
iconId = optVal + '¬' + pageItem.fontSize;
|
iconId = optVal + '¬' + pageItem.fontSize;
|
||||||
|
} else {
|
||||||
|
iconId = optVal + pageItem.suffixName + '¬' + pageItem.fontSize;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
iconId = optVal;
|
iconId = optVal;
|
||||||
}
|
}
|
||||||
@@ -12109,7 +12113,10 @@ function GenerateDetailPage (type: NSPanel.PopupType, optional: NSPanel.mediaOpt
|
|||||||
actualState +
|
actualState +
|
||||||
'~' +
|
'~' +
|
||||||
optionalString,
|
optionalString,
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
GeneratePage(activePage!);
|
GeneratePage(activePage!);
|
||||||
}
|
}
|
||||||
} else if (role == 'buttonSensor') {
|
} else if (role == 'buttonSensor') {
|
||||||
|
|||||||
Reference in New Issue
Block a user