A group is defined using the StreamDeckGroup attribute in a class. All the methods inside can then be called by name without the need of any other attributes.