|  Developer
Updated on June 23, 2022

hub.scenes.icon.set

  • Version: 1.0
  • Classes: UI
  • Title: Scene manager categories
  • Description: Set icon of scene ( icon field in root scope of scene fields )
Edit
Field Type Required Description
_id string + id of the scene
icon string + icon of scene
Edit
  • Empty result.
Edit
Code Message Data
-32600 Bad request,
-32500 The scene with this id does not exist
-32602 Value is not in valid range
Edit
Edit
				
					{
     "id": "ID",
     "jsonrpc": "2.0",
     "method": "hub.scenes.icon.set",
     "params": {
         "_id": "_SCENE_ID_",
         "icon" : "icon3"
     }
 }				
			
Edit
				
					{
     "error": null,
     "id": "ID",
     "result": {}
}