home-assistant.io/source/_integrations/radio_browser.markdown
Franck Nijhof 6ca14d3efc
Rename 'service' to 'action' in automations and scripts (#34023)
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2024-07-31 14:37:02 +02:00

1.3 KiB

title, description, ha_category, ha_release, ha_iot_class, ha_domain, ha_config_flow, ha_codeowners, ha_integration_type
title description ha_category ha_release ha_iot_class ha_domain ha_config_flow ha_codeowners ha_integration_type
Radio Browser Instructions on how to integrate Radio Browser into Home Assistant.
Media source
Multimedia
2022.3 Cloud Polling radio_browser true
@frenck
service

The Radio Browser integration allows you to use the directory of radio stations collected on Radio Browser in Home Assistant.

{% include integrations/config_flow.md %}

To start the Radio Browser, in Home Assistant, go to Media > Radio Browser and select the speaker. Starting the radio browser

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:

action: 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 for more options.