mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 21:06:50 +00:00
Update perform_actions_based_on_input_select.markdown (#1529)
In the first example the media to play was identified as media_id and media_type. That did not work for me, but changing it to "media_content_id" and "media_content_type" did (on version 0.33.4).
This commit is contained in:
parent
ff8aa8f8c8
commit
2426f1a555
@ -43,8 +43,8 @@ automation:
|
||||
service: media_player.play_media
|
||||
data:
|
||||
entity_id: media_player.nursery
|
||||
media_id: http://fileserver/rain.mp3
|
||||
media_type: audio/mp4
|
||||
media_content_id: http://fileserver/rain.mp3
|
||||
media_content_type: audio/mp4
|
||||
|
||||
|
||||
# If you select "Babbling Brook", play the "babbling_brook.mp3" file
|
||||
@ -59,8 +59,8 @@ automation:
|
||||
service: media_player.play_media
|
||||
data:
|
||||
entity_id: media_player.nursery
|
||||
media_id: http://fileserver/babbling_brook.mp3
|
||||
media_type: audio/mp4
|
||||
media_content_id: http://fileserver/babbling_brook.mp3
|
||||
media_content_type: audio/mp4
|
||||
|
||||
# If you select "None, turn the Chromecast off
|
||||
- alias: Stop the Lullaby
|
||||
|
Loading…
x
Reference in New Issue
Block a user