WTH I can't combine switches and lights in one group helper?

Why can’t I create a group helper which combines lights and switches into one master switch? I need to create an automation to control both categories, and i don’t understand why.

Closed as a duplicate. Please search before posting. You can vote and comment here: WTH - Why can I not create a group in the UI that contains lights and switches?