mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-01-02 04:44:20 +01:00
Update icons.py
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user