Home Assistant Groups are finally part of the graphical Configuration

Updated on
Home Assistant Core 2022.4
Disclosure: This post contains affiliate links. If you click through and make a purchase, I’ll earn a commission, at no additional cost to you. Read my full disclosure here.
Advertisement

Groups are an essential part of managing your umpteen devices in Home Assistant. Be it to control multiple lights in a fixture, adjusting media players throughout the home, or setting up presence detection using multiple sensors, they can be and are used for just about every purpose. Until now, Groups could only be created by editing the configuration.yaml file. As of Home Assistant Core 2022.4 that is no longer the case. Groups can finally be created and edited, without ever having to open a text editor.

Advertisement

Groups can now be found in the Helpers section of the Home Assistant Configuration. When creating a Group, you are presented with a list of entity types which can be grouped. Once you have selected a type, you can start adding individual entities to this Group.

A list of entity types that can be grouped in Home Assistant

Creating Groups in the Home Assistant Configuration

A screenshot of the Home Assistant Dashboard showing how occupancy sensors can be grouped.

In this example, I am grouping occupancy sensors located in the office. This allows me to use only the Group to automations and scripts, and spares me from having to add each entity individually. By default, an OR condition defines the Group’s status, so if any entity switches to on, the Group will be on. If you wanted the Group’s status to be defined by an AND condition, you can enable the slider titles All entities.

Advertisement

Another option you are presented with is whether you would like to hide the members of this group. Let’s say you have a light fixture with three individual spotlights. It’s highly unlikely you would ever control each spot individual. By hiding the members, you will only ever see the light fixture Group, and the individual spots will remain hidden.

Advertisement
Liam Alexander Colman, the author and maintainer of Home Assistant Guides.

About Liam Alexander Colman

Liam Alexander Colman has been using Home Assistant for various projects for quite some time. What started off with a Raspberry Pi quickly became three Raspberry Pis and eventually a full-blown server. I now use Unraid as my operating system, and Home Assistant happily runs in a Docker container. My personal setup includes many Zigbee devices as well as integrations with existing products such as my Android TV box. Read on to find out more on how I got started with Home Assistant.

Leave a comment

Advertisement
Share to...