|  Developer
Updated on November 11, 2021

hub.extensions.config.priority.set

Connection type:
Permissions:
  • Change priority of config files
Edit
Field Type Required Description
params.plugin string + Id of target plugin
params.priorities array of strings + List of new priorities. It can contain only part of available plugins, in this case defined plugins should be moved to most priorities and other in less priorities.
For example:
If the controller has A, B, C, D then after setting only C result should be: C, A, B, D.
If the controller has A, B, C, D then after setting only C, B result should be: C, B, A, D.
Edit
Field Type Required Description
result.priorities array of strings + Array of plugins id. It should contain full order or new priorities.
Edit
Edit
				
					{
    "id": "_ID_",
    "jsonrpc": "2.0",
    "method": "hub.extensions.config.priority.set",
    "params": {
        "plugin":"zwave",
        "priorities": [ "cc_devices" ]
    }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "result": {
        "priorities":[ "cc_devices", "my_devices" ]
    }
}