mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 10:17:23 +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
|
||||||
```
|
```
|
||||||
@ -33,13 +32,13 @@ cover:
|
|||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
|
||||||
- **covers** array (*Required*): List of your doors.
|
- **covers** array (*Required*): List of your doors.
|
||||||
- **device** (*Required*): This is the device id from your Garadget portal.
|
- **device** (*Required*): This is the device id from your Garadget portal.
|
||||||
- Either:
|
- Either:
|
||||||
- **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,25 +52,25 @@ 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'
|
||||||
value_template: {% raw %}'{{ states.cover.garage_door.state }}'{% endraw %}
|
value_template: {% raw %}'{{ states.cover.garage_door.state }}'{% endraw %}
|
||||||
garage_door_time_in_state:
|
garage_door_time_in_state:
|
||||||
friendly_name: 'Since'
|
friendly_name: 'Since'
|
||||||
value_template: {% raw %}'{{ states.cover.garage_door.attributes["time in state"] }}'{% endraw %}
|
value_template: {% raw %}'{{ states.cover.garage_door.attributes["time in state"] }}'{% endraw %}
|
||||||
garage_door_wifi_signal_strength:
|
garage_door_wifi_signal_strength:
|
||||||
friendly_name: 'WiFi strength'
|
friendly_name: 'WiFi strength'
|
||||||
value_template: {% raw %}'{{ states.cover.garage_door.attributes["wifi signal strength (dB)"] }}'{% endraw %}
|
value_template: {% raw %}'{{ states.cover.garage_door.attributes["wifi signal strength (dB)"] }}'{% endraw %}
|
||||||
unit_of_measurement: 'dB'
|
unit_of_measurement: 'dB'
|
||||||
|
|
||||||
group:
|
group:
|
||||||
garage_door:
|
garage_door:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user