Versuche es mal so:
.bubble-icon {
opacity: 1 !important;
color:
${
hass.states[entity].state < 0 ?
'#8cbd8c' :
'#ff7465'
}
} !important;
Versuche es mal so:
.bubble-icon {
opacity: 1 !important;
color:
${
hass.states[entity].state < 0 ?
'#8cbd8c' :
'#ff7465'
}
} !important;