Mushroom entity card - change icon color depending the value

I currently have the exact same question with a similar code. And I can’t see why it’s not working.