Concepts and terminology
Now you’re in Home Assistant, let’s look at the most important concepts.
Integrations
Integrations are pieces of software that allow Home Assistant to connect to other software and platforms. For example, a product by Philips called Hue would use the Philips Hue integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] and allow Home Assistant to talk to the hardware controller Hue Bridge. Any Home Assistant compatible devicesA device is a model representing a physical or logical unit that contains entities. connected to the Hue Bridge would appear in Home Assistant as devices.
Some integration cards show an icon:
- The cloud icon indicates that this integration depends on the cloud.
The file icon indicates that this integration was not set up via the UI. You have either set it up in your
configuration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file, or it is a dependency set up by another integration. If you want to configure it, you will need to do so in yourconfiguration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file. - The custom icon indicates that this is not an official Home Assistant integration but that it was custom made. It could be imported from another source, for example downloaded from HACS.
For a full list of compatible integrationsIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more], refer to the integrations documentation.
Once an integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] has been added, the hardware and/or data are represented in Home Assistant as devices and entities.
Devices
Devices are a logical grouping for one or more entitiesAn entity represents a sensor, actor, or function in Home Assistant. Entities are used to monitor physical properties or to control other entities. An entity is usually part of a device or a service. [Learn more]. A deviceA device is a model representing a physical or logical unit that contains entities. may represent a physical deviceA device is a model representing a physical or logical unit that contains entities., which can have one or more sensors. The sensors appear as entities associated with the deviceA device is a model representing a physical or logical unit that contains entities.. For example, a motion sensor is represented as a deviceA device is a model representing a physical or logical unit that contains entities.. It may provide motion detection, temperature, and light levels as entitiesAn entity represents a sensor, actor, or function in Home Assistant. Entities are used to monitor physical properties or to control other entities. An entity is usually part of a device or a service. [Learn more]. Entities have states such as detected when motion is detected and clear when there is no motion.
Devices and entities are used throughout Home Assistant. To name a few examples:
- Dashboards can show a state of an entityAn entity represents a sensor, actor, or function in Home Assistant. Entities are used to monitor physical properties or to control other entities. An entity is usually part of a device or a service. [Learn more]. For example, if a light is on or off.
- An automation can be triggered from a state change on an entityAn entity represents a sensor, actor, or function in Home Assistant. Entities are used to monitor physical properties or to control other entities. An entity is usually part of a device or a service. [Learn more]. For example, a motion sensor entity detects motion and triggers a light to turn on.
- A predefined color and brightness setting for a light saved as a scene.
Entities
Entities are the basic building blocks to hold data in Home Assistant. An entityAn entity represents a sensor, actor, or function in Home Assistant. Entities are used to monitor physical properties or to control other entities. An entity is usually part of a device or a service. [Learn more] represents a sensorSensors return information about a thing, for instance the level of water in a tank. [Learn more], actor, or function in Home Assistant. Entities are used to monitor physical properties or to control other entitiesAn entity represents a sensor, actor, or function in Home Assistant. Entities are used to monitor physical properties or to control other entities. An entity is usually part of a device or a service. [Learn more]. An entityAn entity represents a sensor, actor, or function in Home Assistant. Entities are used to monitor physical properties or to control other entities. An entity is usually part of a device or a service. [Learn more] is usually part of a deviceA device is a model representing a physical or logical unit that contains entities. or a serviceThe term “service” in Home Assistant is used in the sense of an information service. For example, the municipal waste management service that provides entities for organic, paper, and packaging waste. In terms of functionality, the information service is like a device. It is called service to avoid confusion, as it does not come with a piece of hardware. [Learn more]. Entities have statesThe state holds the information of interest of an entity, for example, if a light is on or off. Each entity has exactly one state and the state only holds one value at a time. However, entities can store attributes related to that state such as brightness, color, or a unit of measurement. [Learn more].
Screenshot of the Entities table. Each line represents an entity.
Areas
An area in Home Assistant is a logical grouping of devicesA device is a model representing a physical or logical unit that contains entities. and entitiesAn entity represents a sensor, actor, or function in Home Assistant. Entities are used to monitor physical properties or to control other entities. An entity is usually part of a device or a service. [Learn more] that are meant to match areas (or rooms) in the physical world: your home. For example, the living room
area groups devices and entities in your living room. Areas allow you to target service calls at an entire group of devices. For example, turning off all the lights in the living room.
Locations within your home such as living room, dance floor, etc. Areas can be assigned to floorsA floor in Home Assistant is a logical grouping of areas that are meant to match the physical floors in your home. Devices & entities are not assigned to floors but to areas. Floors can be used in automations and scripts as a target for actions. For example, to turn off all the lights on the downstairs floor when you go to bed..
Areas can also be used for automatically generated cards, such as the Area card.
Automations
A set of repeatable actionsActions are used in several places in Home Assistant. As part of a script or automation, actions define what is going to happen once a trigger is activated. In scripts, an action is called sequence. [Learn more] that can be set up to run automatically. Automations are made of three key components:
- Triggers - events that start an automationAutomations in Home Assistant allow you to automatically respond to things that happen in and around your home. [Learn more]. For example, when the sun sets or a motion sensor is activated.
- Conditions - optional tests that must be met before an actionActions are used in several places in Home Assistant. As part of a script or automation, actions define what is going to happen once a trigger is activated. In scripts, an action is called sequence. [Learn more] can be run. For example, if someone is home.
- Actions - interact with devicesA device is a model representing a physical or logical unit that contains entities. such as turn on a light.
To learn the basics about automationsAutomations in Home Assistant allow you to automatically respond to things that happen in and around your home. [Learn more], refer to the automation basics page or try creating an automation yourself.
Scripts
Similar to automationsAutomations in Home Assistant allow you to automatically respond to things that happen in and around your home. [Learn more], scripts are repeatable actionsActions are used in several places in Home Assistant. As part of a script or automation, actions define what is going to happen once a trigger is activated. In scripts, an action is called sequence. [Learn more] that can be run. The difference between scriptsScripts are components that allow users to specify a sequence of actions to be executed by Home Assistant when turned on. [Learn more] and automationsAutomations in Home Assistant allow you to automatically respond to things that happen in and around your home. [Learn more] is that scriptsScripts are components that allow users to specify a sequence of actions to be executed by Home Assistant when turned on. [Learn more] do not have triggers. This means that scriptsScripts are components that allow users to specify a sequence of actions to be executed by Home Assistant when turned on. [Learn more] cannot automatically run unless they are used in an automationsAutomations in Home Assistant allow you to automatically respond to things that happen in and around your home. [Learn more]. Scripts are particularly useful if you perform the same actionsActions are used in several places in Home Assistant. As part of a script or automation, actions define what is going to happen once a trigger is activated. In scripts, an action is called sequence. [Learn more] in different automationsAutomations in Home Assistant allow you to automatically respond to things that happen in and around your home. [Learn more] or trigger them from a dashboard. For information on how to create scriptsScripts are components that allow users to specify a sequence of actions to be executed by Home Assistant when turned on. [Learn more], refer to the scripts documentation.
Scenes
Scenes allow you to create predefined settings for your devicesA device is a model representing a physical or logical unit that contains entities.. Similar to a driving mode on phones, or driver profiles in cars, it can change an environment to suit you. For example, your watching films sceneScenes capture the states you want certain entities to be. For example, a scene can specify that light A should be turned on and light B should be bright red. [Learn more] may dim the lighting, switch on the TV and increase its volume. This can be saved as a sceneScenes capture the states you want certain entities to be. For example, a scene can specify that light A should be turned on and light B should be bright red. [Learn more] and used without having to set individual devicesA device is a model representing a physical or logical unit that contains entities. every time.
To learn how to use scenesScenes capture the states you want certain entities to be. For example, a scene can specify that light A should be turned on and light B should be bright red. [Learn more], refer to the scene documentation.
Add-ons
Add-ons are third-party applications that provide additional functionality in Home Assistant. Add-ons run directly alongside Home Assistant, whereas integrationsIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] connect Home Assistant to other apps. Add-ons are only supported by the Home Assistant Operating SystemHome Assistant OS, the Home Assistant Operating System, is an embedded, minimalistic, operating system designed to run the Home Assistant ecosystem. It is the recommended installation method for most users. [Learn more] and Home Assistant SupervisedHome Assistant Supervised is the full Home Assistant ecosystem, without the Home Assistant Operating System. [Learn more] installation type.
Add-ons are installed from the add-on store under Settings > Add-ons. If you are curious now and feel like installing every add-on that looks interesting: beware that add-ons can use quite a bit of resources in terms of disk space, memory, and additional load on the processor.
Among the most used add-ons are the ones that provide file access and edit files in Home Assistant.
Screenshot of the add-on page, showing all the installed add-ons on a test system.