Configure Conditional Card To Use Greater Than Range?

So the basic question is can I create a conditional card that uses a greater than / less than range? So if the value of the entity is “greater than” 5, it will show the card? Currently, it seems I can set the value to “is equal to” or “is not equal to”.

Seems like this would be a common need in the front end. Like, “Show an alert if the temperature is forecast to be above 90 degrees” or something… How about “Show the UV Index sensor if the value is greater than 5”…?

Any help would be great.

Make template binary_sensors that perform the checks that you want and use them in the conditional cards.

1 Like

There is also an alternative …

I’m not sure how to do that. I will look into it though. I’ve never done anything with templates.

A lot of the uses I see for this involve weather alerts and such. Just an overview that shows an alert if it’s forecast to be hazardous or have rain, high UV index, etc… Almost like a “don’t forget the umbrella” alert…

Thanks for the tip…

I don’t have HACS installed. I try to just stick with the core project, but I’m surprised they don’t just integrate HACS in the add-on store.

1 Like