From ce3b4301cc027beaf986cb4191c45737da2baaef Mon Sep 17 00:00:00 2001 From: Johannes Date: Tue, 19 Apr 2022 23:49:23 +0200 Subject: [PATCH] Update icons.py --- apps/nspanel-lovelace-ui/luibackend/icons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/nspanel-lovelace-ui/luibackend/icons.py b/apps/nspanel-lovelace-ui/luibackend/icons.py index f2c047f7..039b1566 100644 --- a/apps/nspanel-lovelace-ui/luibackend/icons.py +++ b/apps/nspanel-lovelace-ui/luibackend/icons.py @@ -42,7 +42,7 @@ def map_to_mdi_name(ha_type, state=None, device_class=None): if ha_type == "script": return "script-text" if ha_type == "switch": - return "flash" + return "light-switch" if state == "on" else "light-switch-off" if ha_type == "number": return "ray-vertex" if ha_type == "light":