From add64bf75d3a936431f12509ca35f50df0ae834b Mon Sep 17 00:00:00 2001 From: Carlo Costanzo Date: Thu, 7 Mar 2019 06:00:49 -0500 Subject: [PATCH] Updated with 0.88 changes (#8844) Updated for breaking Changes. https://www.vcloudinfo.com/2019/03/how-to-add-garadget-to-home-assistant.html --- source/_components/cover.garadget.markdown | 25 ++++++++++++++-------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/source/_components/cover.garadget.markdown b/source/_components/cover.garadget.markdown index e232a615089..5b3142a774b 100644 --- a/source/_components/cover.garadget.markdown +++ b/source/_components/cover.garadget.markdown @@ -22,14 +22,20 @@ To enable Garadget Covers in your installation, add the following to your `confi ```yaml # Example configuration.yaml entry -cover: + + cover: - platform: garadget covers: - 190028001947343412342341: + first_garage: + device: 190028001947343412342341 username: YOUR_USERNAME password: YOUR_PASSWORD - 4c003f001151353432134214: + name: first_garage + second_garage: + device: 4c003f001151353432134214 access_token: df4cc785ff818f2b01396c44142342fccdef + name: second_garage + ``` {% configuration %} @@ -37,12 +43,12 @@ covers: description: List of your doors. required: true type: list - keys: - device: - description: This is the device id from your Garadget portal. - required: true - type: string + covers: keys: + device: + description: This is the device id from your Garadget portal. + required: true + type: string username: description: Your Garadget account username. required: true @@ -76,7 +82,8 @@ If provided, the **access_token** will be used, otherwise the **username** and * cover: - platform: garadget covers: - 190028001947343412342341: + garadget: + device: 190028001947343412342341 access_token: !secret garadget_access_token name: Garage door