mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-22 23:44:25 +01:00
Fixed input boolean, broken ealier :)
This commit is contained in:
@@ -511,7 +511,6 @@ class NsPanelLovelaceUI:
|
||||
switch_val = 1 if entity.state == "on" else 0
|
||||
icon_id = get_icon_id('flash') if icon is None else get_icon_id(icon)
|
||||
icon_color = self.getEntityColor(entity)
|
||||
|
||||
if item_type == "input_boolean":
|
||||
if switch_val == 1:
|
||||
icon_id = get_icon_id("check-circle-outline")
|
||||
|
||||
Reference in New Issue
Block a user