mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-01-06 06:35:48 +01:00
fixed typo
This commit is contained in:
@@ -278,7 +278,7 @@ class NsPanelLovelanceUI:
|
|||||||
if item_type == "sensor":
|
if item_type == "sensor":
|
||||||
icon_id = 0
|
icon_id = 0
|
||||||
icon_mapping = {
|
icon_mapping = {
|
||||||
"temperature": 2
|
"temperature": 2,
|
||||||
"power": 4
|
"power": 4
|
||||||
}
|
}
|
||||||
if entity.attributes.device_class in icon_mapping:
|
if entity.attributes.device_class in icon_mapping:
|
||||||
|
|||||||
Reference in New Issue
Block a user