1
mirror of https://github.com/home-assistant/core synced 2024-09-15 17:29:45 +02:00
ha-core/homeassistant/components/plex/services.yaml
jjlawren 4e74fae615
Playback on Sonos speakers from Plex integration (#36177)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-05-27 15:36:08 -07:00

14 lines
586 B
YAML

play_on_sonos:
description: Play music hosted on a Plex server on a linked Sonos speaker.
fields:
entity_id:
description: Entity ID of a media_player from the Sonos integration.
example: "media_player.sonos_living_room"
media_content_id:
description: The ID of the content to play. See https://www.home-assistant.io/integrations/plex/#music for details.
example: >-
'{ "library_name": "Music", "artist_name": "Stevie Wonder" }'
media_content_type:
description: The type of content to play. Must be "music".
example: "music"