Skip to content

Commit 2426f1a

Browse files
aetjansenLandrash
authored andcommitted
Update perform_actions_based_on_input_select.markdown (home-assistant#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).
1 parent ff8aa8f commit 2426f1a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/_cookbook/perform_actions_based_on_input_select.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ automation:
4343
service: media_player.play_media
4444
data:
4545
entity_id: media_player.nursery
46-
media_id: http://fileserver/rain.mp3
47-
media_type: audio/mp4
46+
media_content_id: http://fileserver/rain.mp3
47+
media_content_type: audio/mp4
4848

4949

5050
# If you select "Babbling Brook", play the "babbling_brook.mp3" file
@@ -59,8 +59,8 @@ automation:
5959
service: media_player.play_media
6060
data:
6161
entity_id: media_player.nursery
62-
media_id: http://fileserver/babbling_brook.mp3
63-
media_type: audio/mp4
62+
media_content_id: http://fileserver/babbling_brook.mp3
63+
media_content_type: audio/mp4
6464

6565
# If you select "None, turn the Chromecast off
6666
- alias: Stop the Lullaby

0 commit comments

Comments
 (0)