From 2426f1a555f2388a44eb795ef00583eb6d45e6d5 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 3 Dec 2016 13:29:42 +0100 Subject: [PATCH] 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). --- .../perform_actions_based_on_input_select.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/_cookbook/perform_actions_based_on_input_select.markdown b/source/_cookbook/perform_actions_based_on_input_select.markdown index 8a5c1f90120..235ef58351f 100644 --- a/source/_cookbook/perform_actions_based_on_input_select.markdown +++ b/source/_cookbook/perform_actions_based_on_input_select.markdown @@ -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