Floors
A floor in Home Assistant is a logical grouping of areasAn area in Home Assistant is a logical grouping of devices and entities 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. [Learn more] meant to match your home’s physical floors.
Devices and entities cannot be assigned to floors directly but to areas. Floors can be used in automationsAutomations in Home Assistant allow you to automatically respond to things that happen in and around your home. [Learn more] and scriptsScripts are components that allow users to specify a sequence of actions to be executed by Home Assistant when turned on. [Learn more] as a target for 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]. For example, to turn off all the lights on the downstairs floor when you go to bed.
Creating a floor
Follow these steps to create a new floor.
-
Go to Settings > Areas, labels & zones and select Create floor.
-
In the dialog, enter the floor details:
- Give the floor a Name (required).
- Add a floor Level.
- The number can be negative. For example for underground floors.
- This number can later be used for sorting.
- Add an icon (We use Material icons
). - Add an Alias.
- Aliases are alternative names used in voice assistants to refer to an entity, area, or floor.
-
Select Add.
Result: A new floor is created.
-
You can now assign areas to that floor.
Deleting a floor
Follow these steps to delete a floor. Areas that are assigned to a floor will become unassigned. AutomationsAutomations in Home Assistant allow you to automatically respond to things that happen in and around your home. [Learn more] and scriptsScripts are components that allow users to specify a sequence of actions to be executed by Home Assistant when turned on. [Learn more] or voice assistants that used a floor as a target will no longer work as they no longer have a target.
-
Next to the floor, select the three dots
menu and select Delete floor. -
If you have automationsAutomations in Home Assistant allow you to automatically respond to things that happen in and around your home. [Learn more], scriptsScripts are components that allow users to specify a sequence of actions to be executed by Home Assistant when turned on. [Learn more], or voice assistants that used floors as a target, you will need to update these.