|  Developer
Updated on November 21, 2021

hub.modes.cameras_off.remove

  • Version: 1.0
  • Classes: UI
  • Title: House modes
  • Description: Removes a camera device identifier from a list of devices that should be off in a house mode.
Edit
Field Type Required Description
modeId string + Id of the mode
deviceId string + Id of the device
Edit
  • Empty result or error
Edit
BroadcastsDescription
Optional. If previously the mode’s flag had value , it
will change to
array state have been changed: a camera identifier was removed
Edit
Code Message Data
-32600 Bad request, rpc.params.empty.
-32602 No device by this ID rpc.params.invalid
-32602 The house mode with this id does not exist ezlo.house_mode.not.exist
-32603 Internal operation error internal.operation.error
Edit
Edit
				
					{
    "method": "hub.modes.cameras_off.remove",
    "id": "_ID_",
    "params": {
        "modeId": "<modeId>",
        "deviceId": "<deviceId>"
    }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "result": {}
}