How to create card that only shows sensors with a specfic state

I am using the Omnilink bridge to monitor and control all of the Omnilink sensors/switches. How do I create a card in the Lovelace UI that only shows the sensors/switches that are on or open?