Product Filters - hide filters with a single value

In the theme editor, find facets.liquid. Your theme may be different. Anyway, find the code for the filter on the collection page. Find code that looks like this.

{% case filter.type %}
{% when 'boolean', 'list' %}
xxxx
{% when 'price_range' %}
xxxx
{% endcase %}

Modify the code

{% case filter.type %}
{% when 'boolean', 'list' %}
{% if filter.values.size > 1 %}
xxxx
{% endif %}
{% when 'price_range' %}
xxxx
{% endcase %}