diff --git a/source/_integrations/radio_browser.markdown b/source/_integrations/radio_browser.markdown index 8e0abc377bc..4a16aab96f4 100644 --- a/source/_integrations/radio_browser.markdown +++ b/source/_integrations/radio_browser.markdown @@ -22,6 +22,20 @@ in Home Assistant. To start the Radio Browser, in Home Assistant, go to **Media** > **Radio Browser** and select the speaker. ![Starting the radio browser](/images/integrations/radio_browser/radio_browser.png) -You can also use the Radio Browser in automations. When creating an automation, use the **Play Media** action to pick a station from the directory. This allows you for example to create -an automation that starts playing your favorite radio station on your -Cast devices. +## Automation + +You can also use the Radio Browser in automations. When creating an automation, use the **Play Media** action to pick a station from the directory. This allows you, for example, to create +an automation that starts playing your favorite radio station on your Cast devices. + +If you want to use a YAML for the automation, you would look like this: + +```yaml +service: media_player.play_media +target: + entity_id: media_player.YOUR_MEDIA_PLAYER +data: + media_content_id: media-source://radio_browser/963ccae5-0601-11e8-ae97-52543be04c81 + media_content_type: audio/mpeg +``` + +See [Media Player](/integrations/media_player) for more options.