hub.modes.bypass_devices.add
- Version: 1.0
- Classes: UI
- Title: House modes
- Description: Adds device identifiers to a list of bypass devices, which do not trigger alarms and do not emit Ezlo Protect events.
Edit
Field | Type | Required | Description |
---|---|---|---|
modeId | string | + | Id of the mode |
deviceIds | JsonArray | + | Ids of the devices |
Edit
- Empty result or error
Edit
Name | Description |
---|---|
param contains device identifiers added to bypass devices list |
Edit
Code | Message | Data |
---|---|---|
-32600 | Bad request, is empty | |
-32602 | No valid devices to add | rpc.params.invalid |
-32602 | The house mode with this id does not exist | ezlo.house_mode.not.exist |