Fix & improve documentation for Garadget integration variables (#15652)

This commit is contained in:
Greg Barker 2020-11-16 04:44:45 -08:00 committed by GitHub
parent ffbc0bbdbe
commit 82c34a519e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,33 +37,30 @@ covers:
description: List of your doors. description: List of your doors.
required: true required: true
type: list type: list
covers: keys:
keys: device:
device: description: This is the device id from your Garadget portal. It can be found in the Settings section of the Garadget website or mobile application.
description: This is the device id from your Garadget portal. required: true
required: true type: string
type: string username:
username: description: Your Garadget account username. Use with `password` to obtain the `access_token` automatically.
description: Your Garadget account username. required: false
required: true type: string
type: string password:
password: description: Your Garadget account password. Use with `username` to obtain the `access_token` automatically.
description: Your Garadget account password. required: false
required: true type: string
type: string access_token:
access_token: description: A generated `access_token` from your Garadget account. To obtain an `access_token`, use the network tab of the developer tools for your web browser while logged into the Garadget website. When supplied, the `username` and `password` values are not required.
description: A generated `access_token` from your Garadget account. required: false
required: true type: string
type: string name:
name: description: Name to use in the frontend, will use name configured in Garadget otherwise.
description: me to use in the frontend, will use name configured in Garadget otherwise. required: false
required: false default: Garadget
default: Garadget type: string
type: string
{% endconfiguration %} {% endconfiguration %}
If provided, the **access_token** will be used, otherwise the **username** and **password** will be used to automatically generate an access token at start time.
## Example ## Example
<p class='img'> <p class='img'>