Entity-filter/conditional card compare with variable?

Is it possible to compare with variable in the entitiy-filter or conditional card?

                state_filter:
                  - 'off'
                  - operator: '>'
                    value: {{ some_variable_here }}