How to access a card toggle as an entity?

I would like to access this toggle in my automations:

image

How can I address it in a homeassistant.toggle context?

I initially thought that a group of entities would work, but it does not: the toggle is applied individually to each entity of the group, and not to the group as a whole.

Create a light group: