# `Espex.Wizard.EntityFilter`
[🔗](https://github.com/bbangert/espex/blob/main/lib/espex/wizard/entity_filter.ex#L1)

Which Home Assistant entities the user may pick for an
`Espex.Wizard.Input`. Mirrors Home Assistant's
`EntityFilterSelectorConfig`.

An entity matches a filter when it satisfies every field that is set.
An input accepts an entity that matches any one of its filters. Set at
least one field.

  * `integration` — the integration that provides the entity, 1-63
    bytes
  * `domain` — entity domains such as `["light", "switch"]`, each 1-63
    bytes
  * `device_class` — device classes, each 1-63 bytes
  * `supported_features` — feature flags such as
    `["light.LightEntityFeature.TRANSITION"]`, each 1-127 bytes

# `t`
*since 0.12.0* 

```elixir
@type t() :: %Espex.Wizard.EntityFilter{
  device_class: [String.t()],
  domain: [String.t()],
  integration: String.t() | nil,
  supported_features: [String.t()]
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
