thomasloven / lovelace-state-switch

🔹Dynamically replace lovelace cards depending on occasion
MIT License
382 stars 27 forks source link

How to take states "< 30 %" or "> 5 kWh" #109

Open ThomasReiter23 opened 11 months ago

ThomasReiter23 commented 11 months ago

Hi!

How can I define states like "< 30 %" or "> 5 kWh". I want to change the background of the card in dependency of the numerous amount. (card-mod) Or is there a better way to do this?

Tom