Creating a Z-Wave Group (Association?) within Home Assistant?

From my understanding, the groups are part of the device. For my devices, group 2 is for on/off control, and group 4 is for dimming control.
Kirk