|  Developer
Updated on December 2, 2022

hub.scenes.item.group.get

  • Version: 1.0
  • Classes: UI
  • Title: Scene manager categories
  • Description: Get item group by Id.
Edit
Field Type Required Description
id string + Get item group by ID
Edit
  • Item group object.
Edit
Code Message Data
-32602 Wrong params,
-32602 Wrong field of object
-32602 Record with the key does not exist
Edit
Edit
				
					{
  "id": "_ID_",
  "jsonrpc": "2.0",
  "api": "1.0",
  "method": "hub.scenes.item.group.get",
  "params": {
    "id": "<item group id>"
  }
}				
			
Edit
				
					{
  "api": "1.0",
  "error": null,
  "id": "633216245ab7be12415365c4",
  "result": {
    "_id": "633216245ab7be12415365c4",
    "name": "switches",
    "itemNames": [ "switch" ],
    ... all other fields ...
    "persistent": false
  }
}