Minor changes

This commit is contained in:
Fabian Affolter 2017-04-28 10:23:52 +02:00
parent 8ec4d8d172
commit ede87269af
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -20,12 +20,11 @@ To enable Garadget Covers in your installation, add the following to your `confi
```yaml
# Example configuration.yaml entry
cover:
platform: garadget
- platform: garadget
covers:
190028001947343412342341:
username: UseYourLogin@garadget.com
password: abc123
name: Left Garage Door
4c003f001151353432134214:
access_token: df4cc785ff818f2b01396c44142342fccdef
```
@ -38,8 +37,8 @@ Configuration variables:
- **username** (*Required*): Your Garadget account username.
- **password** (*Required*): Your Garadget account password.
- Or:
- **access_token** (*Required*): A generated access_token from your garadget account
- **name** (*Optional*): Name to use in the Frontend, will use name configured in Garadget otherwise.
- **access_token** (*Required*): A generated `access_token` from your Garadget account.
- **name** (*Optional*): Name to use in the frontend, will use name configured in Garadget otherwise.
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.
@ -53,14 +52,14 @@ If provided, the **access_token** will be used, otherwise the **username** and *
```yaml
# Related configuration.yaml entry
cover:
platform: garadget
- platform: garadget
covers:
190028001947343412342341:
access_token: !secret garadget_access_token
name: Garage door
sensor:
platform: template
- platform: template
sensors:
garage_door_status:
friendly_name: 'State of the door'