mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-01-02 21:04:20 +01:00
Update pages.py
This commit is contained in:
@@ -410,13 +410,13 @@ class LuiPagesGen(object):
|
||||
font = 0
|
||||
if item.font == "small":
|
||||
font = 0
|
||||
else if item.font == "medium-icon":
|
||||
elif item.font == "medium-icon":
|
||||
font = 1
|
||||
else if item.font == "medium":
|
||||
elif item.font == "medium":
|
||||
font = 2
|
||||
else if item.font == "large":
|
||||
elif item.font == "large":
|
||||
font = 3
|
||||
else if isinstance(item.font, int):
|
||||
elif isinstance(item.font, int):
|
||||
font = item.font
|
||||
icon_id += f'{icon_id}¬{font}'
|
||||
return f"~{entityTypePanel}~{entityId}~{icon_id}~{color}~{name}~{value}"
|
||||
|
||||
Reference in New Issue
Block a user