mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-18 19:06:58 +01:00
migrate weather to icon mapper
This commit is contained in:
@@ -36,7 +36,7 @@ icons = {
|
||||
'battery-medium': 34,
|
||||
}
|
||||
|
||||
def get_icon(ma_name):
|
||||
def get_icon_id(ma_name):
|
||||
if ma_name in icons:
|
||||
return icons[ma_name]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user