Fix color of plant entity when state is problem (#12821)

This commit is contained in:
Xor 2022-05-30 16:57:00 +02:00 committed by GitHub
parent 5951f5c5c4
commit 1e011bfe34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,9 @@ export const iconColorCSS = css`
}
}
ha-state-icon[data-domain="plant"][data-state="problem"],
ha-state-icon[data-domain="plant"][data-state="problem"] {
color: var(--state-icon-error-color);
}
/* Color the icon if unavailable */
ha-state-icon[data-state="unavailable"] {