# Target

> What an action works on: entities, devices, areas, floors, or labels.

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

- In code: `target`, `entity_id`, `area_id`, `floor_id`, `label_id`
- Also: targets

A target is resolved when the action runs. Targeting an area means all matching entities in it at that moment, so newly added devices are included.

## 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.
- [Area](https://contributors.home-assistant.io/glossary/area/): A room or space in the home, like the kitchen, that devices and entities belong to.
- [Floor](https://contributors.home-assistant.io/glossary/floor/): A level of the home, like the ground floor, that holds areas.
- [Label](https://contributors.home-assistant.io/glossary/label/): A tag users put on entities, devices, areas, automations, and more, to group them their own way, like everything that uses a lot of energy.
