hub.modes.protect.devices.add
- Version: 1.0
- Classes: UI
- Title: House modes
- Description: Adds device identifiers to the protectDevices collection.
Edit
| Field | Type | Required | Description |
|---|---|---|---|
| deviceIds | Array of strings | + | Identifiers of devices to add to a collection |
Edit
- Empty result or error
Edit
| Code | Message | Data | Reason |
|---|---|---|---|
| -32602 | Wrong params | rpc.params.invalid | Nothing to add |
| -32602 | Wrong params | rpc.params.invalid.deviceIds | Format of a required field is wrong |
Edit
| Broadcast | Description |
|---|---|
| hub.modes.protect.devices.added | A device has been added to the collection |