This API is used to create a group or scene.
Use the parameter "type" to specify whether you want to create a group or scene. ("type": "GROUP" or "type": "SCENE").
The following section provides brief descriptions for a Group and a Scene:
Group: A group is a collection of devices that can be viewed and controlled as a single entity. The devices in a group are of a similar type, or have common attributes (e.g. On/Off) that can be controlled as a whole. Groups enable the users to perform a single action to a collection of devices at the same time.
Scene: A scene is a collection of devices with different actions/states. A scene allows us to perform various actions to different types of devices at the same time. When a scene is activated, a set of pre-defined actions are performed on all the devices associated with a scene. A scene is activated manually (tapping a button in the mobile app), or can be automated based on a schedule.
NOTE: In general, a group or scene is referred to as a collection.
