Fixed input boolean, broken ealier :)

This commit is contained in:
joBr99
2022-03-21 22:12:07 +01:00
committed by GitHub
parent 4bfaff1a26
commit 4ed9e5e758

View File

@@ -511,7 +511,6 @@ class NsPanelLovelaceUI:
switch_val = 1 if entity.state == "on" else 0 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_id = get_icon_id('flash') if icon is None else get_icon_id(icon)
icon_color = self.getEntityColor(entity) icon_color = self.getEntityColor(entity)
if item_type == "input_boolean": if item_type == "input_boolean":
if switch_val == 1: if switch_val == 1:
icon_id = get_icon_id("check-circle-outline") icon_id = get_icon_id("check-circle-outline")