mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 06:46:58 +00:00
Update lovelace docs
Minor cleanup and fixing typos Changed all config sections to use {% configuration %} tag.
This commit is contained in:
parent
f4e31fd156
commit
ed10ec70e4
@ -10,23 +10,27 @@ sharing: true
|
|||||||
footer: true
|
footer: true
|
||||||
---
|
---
|
||||||
|
|
||||||
### Media controller
|
The media control card is used to display [Media Player](/components/#search/media-player) entities on an interface with easy to use controls.
|
||||||
|
|
||||||
The media controller card is used to display [Media Player](/components/#search/media-player) entities on an interface with easy to use controls.
|
|
||||||
|
|
||||||
<p class='img'>
|
<p class='img'>
|
||||||
<img src='/images/lovelace/lovelace_mediaplayer.png' alt='Screenshot of the media player control card'>
|
<img src='/images/lovelace/lovelace_mediaplayer.png' alt='Screenshot of the media player control card'>
|
||||||
Screenshot of the media player control card.
|
Screenshot of the media player control card.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
**Options**
|
{% linkable_title Options %}
|
||||||
|
|
||||||
| Name | Type | Default | Description
|
{% configuration %}
|
||||||
| ---- | ---- | ------- | -----------
|
type:
|
||||||
| type | string | **Required** | `media-control`
|
required: true
|
||||||
| entity | string | **Required** | Entity id of `media_player` domain
|
description: media-control
|
||||||
|
type: string
|
||||||
|
entity:
|
||||||
|
required: true
|
||||||
|
description: "Entity id of `media_player` domain"
|
||||||
|
type: string
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
**Example**
|
{% linkable_title Example %}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- type: media-control
|
- type: media-control
|
||||||
|
Loading…
x
Reference in New Issue
Block a user