Update lovelace docs

Minor cleanup and fixing typos
Changed all config sections to use {% configuration %} tag.
This commit is contained in:
sjabby 2018-07-08 21:52:26 +02:00 committed by GitHub
parent f4e31fd156
commit ed10ec70e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,23 +10,27 @@ sharing: true
footer: true
---
### Media controller
The media controller card is used to display [Media Player](/components/#search/media-player) entities on an interface with easy to use controls.
The media control card is used to display [Media Player](/components/#search/media-player) entities on an interface with easy to use controls.
<p class='img'>
<img src='/images/lovelace/lovelace_mediaplayer.png' alt='Screenshot of the media player control card'>
Screenshot of the media player control card.
</p>
**Options**
{% linkable_title Options %}
| Name | Type | Default | Description
| ---- | ---- | ------- | -----------
| type | string | **Required** | `media-control`
| entity | string | **Required** | Entity id of `media_player` domain
{% configuration %}
type:
required: true
description: media-control
type: string
entity:
required: true
description: "Entity id of `media_player` domain"
type: string
{% endconfiguration %}
**Example**
{% linkable_title Example %}
```yaml
- type: media-control