You can groups outputs of type switch or light.
output_group:
- id: LightsGroup
output_type: light
outputs:
- light1
- light2
{kind}_{pin}
) - uniquely identifies this device in MQTT and Home Assistant.['switch', 'light', 'none']
) - What type of output it is. Switch/light shows as such device in Home Assistant. Value none means that this output is not published to MQTT. It’s internal use only for other component eg cover.