mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Fix docs for Universal Media Player (#2962)
Wrapped template syntax in example
This commit is contained in:
parent
9cc889bd6f
commit
a6c62b30ff
@ -96,12 +96,12 @@ media_player:
|
||||
service: media_player.select_source
|
||||
data_template:
|
||||
entity_id: media_player.receiver
|
||||
source: '{{ source }}'
|
||||
source: '{% raw %}{{ source }}{% endraw %}'
|
||||
volume_set:
|
||||
service: media_player.volume_set
|
||||
data_template:
|
||||
entity_id: media_player.receiver
|
||||
volume_level: '{{ volume_level }}'
|
||||
volume_level: '{% raw %}{{ volume_level }}{% endraw %}'
|
||||
|
||||
attributes:
|
||||
state: switch.living_room_tv
|
||||
|
Loading…
x
Reference in New Issue
Block a user