|  Developer
Updated on June 23, 2022

hub.scenes.house_modes.set

  • Version: 1.0
  • Classes: UI
  • Title: Scene manager categories
  • Description: Set house modes of scene ( house_modes field in root scope of scene fields )
Edit
Field Type Required Description
_id string + id of the scene
houseModes JsonArray + house modes 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.house_modes.set",
     "params": {
         "_id": "_SCENE_ID_",
         "houseModes" : [
                "1",
                "2",
                "4"
            ]
     }
 }				
			
Edit
				
					{
     "error": null,
     "id": "ID",
     "result": {}
}