|  Developer
Updated on March 8, 2023

hub.modes.bypass_devices.remove

  • Version: 1.0
  • Classes: UI
  • Title: House modes
  • Description: Removes device identifiers from a list of bypass devices.
Edit
Field Type Required Description
modeId string + Id of the mode
deviceId string + Id of the device
Edit

Empty result or error

Edit
Name Description
param contains device identifiers removed from bypass devices list
Edit
Code Message Data
-32600 Bad request, is empty
-32602 No valid devices to remove rpc.params.invalid
-32602 The house mode with this id does not exist ezlo.house_mode.not.exist
Edit
Edit
				
					{
    "method": "hub.modes.bypass_devices.remove",
    "id": "_ID_",
    "params": {
        "modeId": "<modeId>",
        "deviceIds": ["<deviceId1>", "<deviceId2>"]
    }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "result": {}
}