hub.modes.cameras_off.add
- Version: 1.0
- Classes: UI
- Title: House modes
- Description: Adds a camera device identifier to 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
| 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 |