Entity-filter card using attributes

Hi there!
I use the entity filter card (glance) ad a box where appeared all devices that are switched on (reading the state of the device). But i need to include/exclude certain devices, reading an attribute of the device indtead of the state (for example i have a shutter that when it’s completely open the current_position is 100, i want to see the entity in the entity filter, when the current position is non 100)

Here my code

Look at the second-last example in the documentation, it fits your case: