# Selector

> Describes what kind of value a field takes, like an entity, a number, or a time, so the UI shows the right control for it.

Source: https://contributors.home-assistant.io/glossary/selector/

- In code: `selector`, `ha-selector`
- Also: selectors

Selectors are used for action fields in `services.yaml`, for blueprint inputs, and in config flows. The same selector gives the same control everywhere.

## Related terms

- [Action](https://contributors.home-assistant.io/glossary/action/): Something Home Assistant can do, like turning on a light or sending a notification. Automations, scripts, and dashboards perform actions.
- [Blueprint](https://contributors.home-assistant.io/glossary/blueprint/): An automation, script, or template entity with blanks to fill in, so others can reuse it, like a motion light that only needs the motion sensor and the lamp.
- [Config flow](https://contributors.home-assistant.io/glossary/config-flow/): The steps in the UI that set up an integration and create a config entry.
