From 22df835e6d905c0897f606d5e7d5cb3da87e37b3 Mon Sep 17 00:00:00 2001 From: th3jesta Date: Tue, 13 Feb 2024 09:07:54 -0500 Subject: [PATCH] Fix for #89: remove if/else block for state-color. Wasn't working anyway. --- themes/lcars.yaml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/themes/lcars.yaml b/themes/lcars.yaml index 3262d33..27fc32c 100755 --- a/themes/lcars.yaml +++ b/themes/lcars.yaml @@ -937,15 +937,6 @@ border-top-right-radius: var(--ha-card-border-radius) !important; border-top-left-radius: var(--ha-card-border-radius) !important; --mdc-theme-primary: var(--lcars-ui-secondary) !important; - {% if has_value(config.entity | string) %} - {% if is_state(config.entity | string, 'off') %} - --state-color: var(--lcars-dark-gray); - {% else %} - --state-color: var(--lcars-gray); - {% endif %} - {% else %} - --state-color: var(--lcars-dark-gray); - {% endif %} } ha-card > .name { color: black;