OZW usercode documentation revision (#13960)

This commit is contained in:
Chris 2020-07-13 09:43:02 -07:00 committed by GitHub
parent 153af9c92e
commit 741b47e14f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,21 +68,21 @@ this operation.
### Service `ozw.set_usercode` ### Service `ozw.set_usercode`
This service will set the usercode to X at code_slot Y. This service will set the usercode to X at code slot Y.
Valid usercodes are at least 4 digits. Valid usercodes are at least 4 digits.
| Service Data Attribute | Required | Description | | Service Data Attribute | Required | Description |
| ---------------------- | -------- | --------------------------------------- | | ---------------------- | -------- | ---------------------------------------------------- |
| `entity_id` | yes | Lock entity to set the usercode. | | `entity_id` | no | Lock entity or list of entities to set the usercode. |
| `code_slot` | yes | The code slot to set the usercode into. | | `code_slot` | yes | The code slot to set the usercode into. |
| `usercode` | yes | The code to set in the slot. | | `usercode` | yes | The code to set in the slot. |
### Service `ozw.clear_usercode` ### Service `ozw.clear_usercode`
This service will clear the usercode in code_slot X. This service will clear the usercode in code slot X.
Valid code_slots are 1-254. Valid code slots are between 1-254.
| Service Data Attribute | Required | Description | | Service Data Attribute | Required | Description |
| ---------------------- | -------- | ----------------------------------------- | | ---------------------- | -------- | ------------------------------------------------------ |
| `entity_id` | yes | Lock entity to clear the usercode. | | `entity_id` | no | Lock entity or list of entities to clear the usercode. |
| `code_slot` | yes | The code slot to clear the usercode from. | | `code_slot` | yes | The code slot to clear the usercode from. |