Switch "group" incomplete

I’m a Home Assistant newbie. I took me days to finally get all of my physical devices into HA. My next step is to create an automation but before that I need to define groups for my lights(switches) and motion sensors.
I went to Devices than helper and finally switches. When I went to add switches to the group only 3 of the 4 switchs were availiable to add to the group. The 3 that showed up were all Wifi based switchs. The one that was not available is from Aquara and is Zigbee based and imported via the Matter process.

How do I get the group editor to recognize the the Aquara Switch so I can add it to the group?

First, I apologize if I am answering the wrong question.

You could do it in YAML.
Also, you don’t need groups to create an automation unless you want to control everything in the group.

Also, a group can only contain devices in the same domain. For instance lights in a light group and switches in a switch group. But there is a workaround- create a group of groups. I do this in a the configuration.yaml file:

AllLights:
  name: All Lights Group
  entities:
    - light.downstairs_lights_group
    - switch.downstairs_switches_group
    - light.upstairs_lights_group
    - switch.upstairs_switches_group 

Here’s how I use the group of groups in an automation:

service: homeassistant.turn_off
data: {}
target:
  entity_id: group.alllights

Here are some pages from my notebook that might help:

What’s the entity_id of your aquara switch?

1 Like

Petro,
I’m new to Home Automation. How and where might I find the entity_id of my Aquara switch?

click on the device, then click on the entity on the device page, there will be an entity_id there.

light.aquara_wall_switch_us is the entity_id

That’s a light, not a switch. If you want to group it, use the switch as x integration and turn all your switches into lights. Then use them in a light group.

OK, I see that this switch entity_id beging with light. That make sense. But the actual device is a switch.

So the other devices that I want to combine with the “light” above are TP-link also switches. The entity_id for the TP-link devices begin with switch.

So is it possible to create a “Group” for these 4 switchs that control lights?

easiest way is to do this:

and create light entities from all of the switches. that will let you create a light group of them all.

it doesn’t remove the switch entity. so you can continue to have and use it as a switch if you like, but i don’t know that there’s any benefit to continue using it as a switch.