fixed typo

This commit is contained in:
Johannes Braun
2022-03-07 17:33:18 +01:00
parent cdb697f41e
commit 36beb87c93

View File

@@ -278,7 +278,7 @@ class NsPanelLovelanceUI:
if item_type == "sensor":
icon_id = 0
icon_mapping = {
"temperature": 2
"temperature": 2,
"power": 4
}
if entity.attributes.device_class in icon_mapping: