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:
Arno 2016-12-03 13:29:42 +01:00 committed by Fredrik Lindqvist
parent ff8aa8f8c8
commit 2426f1a555

View File

@ -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