diff --git a/homeassistant/components/media_extractor/services.yaml b/homeassistant/components/media_extractor/services.yaml index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..c5588c341340fd3fbd0c0f7dfa63f7e71fdbe849 100644 --- a/homeassistant/components/media_extractor/services.yaml +++ b/homeassistant/components/media_extractor/services.yaml @@ -0,0 +1,13 @@ +play_media: + description: Downloads file from given url. + fields: + entity_id: + description: Name(s) of entities to play media on. + example: 'media_player.living_room_chromecast' + media_content_id: + description: The ID of the content to play. Platform dependent. + example: 'https://soundcloud.com/bruttoband/brutto-11' + media_content_type: + description: The type of the content to play. Must be one of MUSIC, TVSHOW, VIDEO, EPISODE, CHANNEL or PLAYLIST MUSIC. + example: 'music' +