|  Developer
Updated on December 2, 2022

hub.scenes.device.group.updated

  • Inform about the change of the device group.
Edit
Field Type Required Description
_id string + ID of a 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
sync bool + If true – a name of a group has been changed. If false – other fields, but not a name have changed
Edit
				
					{
    "id": "ui_broadcast",
    "msg_subclass": "hub.scenes.device.group.updated",
    "result": {
        "_id": "588b7eb528b12d03be86f36f",
        "name": "_DEVICE_GROUP_NAME_",
        "sync": true,
        "categories": [
            { "category": "security_sensor", "subcategories": [ "co2", "leak" ]  },
            { "category": "scene_controller", "exceptions": [ "panic" ] }
        ],
        "devices": [],
        "exceptions": [],
        "persistent": false
    }
}