mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Update style of Opengarage component documentation to follow new configuration variables description. Related to #6385.
This commit is contained in:
parent
4da3ba74bb
commit
c6402dac5c
@ -33,14 +33,36 @@ cover:
|
|||||||
name: Right Garage Door
|
name: Right Garage Door
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
covers:
|
||||||
- **covers** array (*Required*): List of your doors.
|
description: List of your doors.
|
||||||
- **identifier** (*Required*): Name of the cover as slug. Multiple entries are possible.
|
required: true
|
||||||
- **host** (*Required*): IP address of device.
|
type: map
|
||||||
- **port** (*Optional*): HTTP Port. Default is `80`.
|
keys:
|
||||||
- **device_key** (*Required*): Access key to control device. Default is `opendoor`.
|
identifier:
|
||||||
- **name** (*Optional*): Name to use in the Frontend. If not provided, it will use name configured in device.
|
description: Name of the cover as slug. Multiple entries are possible.
|
||||||
|
required: true
|
||||||
|
type: map
|
||||||
|
keys:
|
||||||
|
host:
|
||||||
|
description: IP address of device.
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
port:
|
||||||
|
description: HTTP Port.
|
||||||
|
required: false
|
||||||
|
default: 80
|
||||||
|
type: integer
|
||||||
|
device_key:
|
||||||
|
description: Access key to control device.
|
||||||
|
required: true
|
||||||
|
default: opendoor
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
description: Name to use in the Frontend. If not provided, it will use name configured in device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
**Example with more detail:**
|
**Example with more detail:**
|
||||||
<p class='img'>
|
<p class='img'>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user