|  Developer
Updated on December 2, 2022

hub.scenes.item.group.updated

  • Inform about the change of the item group.
Edit
Field Type Required Description
_id string + ID of a created group
name string + A name of a group.
hasGetter boolean Marks a group as a group for filtering events in triggers.
hasSetter boolean Marks an item group as a group for filtering controllable items and can be applied in the action blocks.
persistent boolean Marks a group as a persistent group.
itemNames array of strings An array of item name filters.
valueType Item Value Type Filter items by valueType field.
enum array of strings List of tokens for the token item value type.
valueTypeFamily string List of operations applicable to the group in Generic Comparison.
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.item.group.updated",
    "result": {
        "_id": "588b7eb528b12d03be86f36f",
        "name": "_ITEM_GROUP_NAME_",
        "sync": false,

        // changed fields only below
        "itemNames": [ "switch" ]
    }
}