Updated with 0.88 changes (#8844)

Updated for breaking Changes. 
https://www.vcloudinfo.com/2019/03/how-to-add-garadget-to-home-assistant.html
This commit is contained in:
Carlo Costanzo 2019-03-07 06:00:49 -05:00 committed by Fabian Affolter
parent d382a36d97
commit add64bf75d

View File

@ -22,14 +22,20 @@ To enable Garadget Covers in your installation, add the following to your `confi
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
cover:
cover:
- platform: garadget - platform: garadget
covers: covers:
190028001947343412342341: first_garage:
device: 190028001947343412342341
username: YOUR_USERNAME username: YOUR_USERNAME
password: YOUR_PASSWORD password: YOUR_PASSWORD
4c003f001151353432134214: name: first_garage
second_garage:
device: 4c003f001151353432134214
access_token: df4cc785ff818f2b01396c44142342fccdef access_token: df4cc785ff818f2b01396c44142342fccdef
name: second_garage
``` ```
{% configuration %} {% configuration %}
@ -37,12 +43,12 @@ covers:
description: List of your doors. description: List of your doors.
required: true required: true
type: list type: list
keys: covers:
device:
description: This is the device id from your Garadget portal.
required: true
type: string
keys: keys:
device:
description: This is the device id from your Garadget portal.
required: true
type: string
username: username:
description: Your Garadget account username. description: Your Garadget account username.
required: true required: true
@ -76,7 +82,8 @@ If provided, the **access_token** will be used, otherwise the **username** and *
cover: cover:
- platform: garadget - platform: garadget
covers: covers:
190028001947343412342341: garadget:
device: 190028001947343412342341
access_token: !secret garadget_access_token access_token: !secret garadget_access_token
name: Garage door name: Garage door