hub.modes.protect.buttons.set
- Version: 1.0
- Classes: UI
- Title: House modes
- Description: Adds/updates/remove protectButton records from/to house modes.
Edit
Field | Type | Required | Description |
---|---|---|---|
deviceId | string | + | Id of the device |
service | enum | + | A Ezlo Protect service: , , |
Edit
- Empty result or error
Edit
Code | Message | Data |
---|---|---|
-32602 | Wrong params | rpc.params.invalid. |
-32500 | No device found! | ezlo.device.notfound |
Edit
Broadcast | Description |
---|---|
hub.modes.protect.buttons.added | A button device has been assigned with a Ezlo Protect service |
hub.modes.protect.buttons.updated | A button device has been assigned with another Ezlo Protect service |
hub.modes.protect.buttons.removed | A button device assignment to a Ezlo Protect service have been removed |