Skip to content
Discussion options

You must be logged in to vote

You can add conditions like this:

.bubble-sub-button-1 > ha-icon {
    color: ${
        hass.states['sensor.thuis_outdoor_temperature'].state < '15' ? 'blue' :
        hass.states['sensor.thuis_outdoor_temperature'].state < '22' ? 'red' :
        ''} !important;
  }

If this solves your problem, mark this as solved and close the discussion.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by dvoijen
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment