|  Developer
Updated on December 5, 2022

hub.scenes.device.group.created

  • Informs about the device group was successfully created.
Edit
Field Type Required Description
_id string + ID of a created group
name string + A name of a group
categories array of objects + An array of category filters
devices array of device IDs + Device identifiers to be added to a set defined by categories collection
exceptions array of device IDs + Device identifiers to be excluded from a Device Group
persistent bool + Defines if an object is persistent
Edit
				
					{
    "id": "ui_broadcast",
    "msg_subclass": "hub.scenes.device.group.created",
    "result": {
        "_id": "588b7eb528b12d03be86f36f",
        "name" : "_DEVICE_GROUP_NAME_",
        "categories": [
            { "category": "security_sensor", "subcategories": [ "co2", "leak" ]  },
            { "category": "scene_controller", "exceptions": [ "panic" ] }
        ],
        "devices": [],
        "exceptions": [],
        "persistent": false
    }
}