|  Developer
Updated on March 8, 2023

hub.modes.alarms_off.add

  • Version: 1.0
  • Classes: UI
  • Title: House modes
  • Description: Add alarmsOff to the 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 siren identifier was added
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.alarms_off.add",
    "id": "_ID_",
    "params": {
        "modeId": "<modeId>",
        "deviceId": "<deviceId>"
    }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "result": {}
}