# Attribute

> Extra information that comes with a state, like the brightness of a light or the list of effects it supports.

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

- In code: `extra_state_attributes`
- Also: attributes, state attributes

Attributes describe the state, they are not values of their own. Something users want to see in a graph or use in an automation by itself, like the battery level of a device, is better as a separate entity.

## Related terms

- [State](https://contributors.home-assistant.io/glossary/state/): The current value of an entity, like `on`, `21.5`, or `playing`, together with its attributes.
- [Entity](https://contributors.home-assistant.io/glossary/entity/): One thing Home Assistant can show, measure, or control, like a light, a temperature sensor, or a switch. Every entity has a state.
