mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-27 03:07:14 +00:00
Minor changes
This commit is contained in:
parent
8ec4d8d172
commit
ede87269af
@ -20,12 +20,11 @@ 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:
|
190028001947343412342341:
|
||||||
username: UseYourLogin@garadget.com
|
username: UseYourLogin@garadget.com
|
||||||
password: abc123
|
password: abc123
|
||||||
name: Left Garage Door
|
|
||||||
4c003f001151353432134214:
|
4c003f001151353432134214:
|
||||||
access_token: df4cc785ff818f2b01396c44142342fccdef
|
access_token: df4cc785ff818f2b01396c44142342fccdef
|
||||||
```
|
```
|
||||||
@ -38,8 +37,8 @@ Configuration variables:
|
|||||||
- **username** (*Required*): Your Garadget account username.
|
- **username** (*Required*): Your Garadget account username.
|
||||||
- **password** (*Required*): Your Garadget account password.
|
- **password** (*Required*): Your Garadget account password.
|
||||||
- Or:
|
- Or:
|
||||||
- **access_token** (*Required*): A generated access_token from your garadget account
|
- **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.
|
- **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.
|
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
|
```yaml
|
||||||
# Related configuration.yaml entry
|
# Related configuration.yaml entry
|
||||||
cover:
|
cover:
|
||||||
platform: garadget
|
- platform: garadget
|
||||||
covers:
|
covers:
|
||||||
190028001947343412342341:
|
190028001947343412342341:
|
||||||
access_token: !secret garadget_access_token
|
access_token: !secret garadget_access_token
|
||||||
name: Garage door
|
name: Garage door
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
platform: template
|
- platform: template
|
||||||
sensors:
|
sensors:
|
||||||
garage_door_status:
|
garage_door_status:
|
||||||
friendly_name: 'State of the door'
|
friendly_name: 'State of the door'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user