From d5622da3d135129672493826aa571732347ed62f Mon Sep 17 00:00:00 2001 From: Simon Lamon <32477463+silamon@users.noreply.github.com> Date: Fri, 13 Sep 2024 12:53:38 +0200 Subject: [PATCH] Add preset action to LinkPlay documentation (#34619) * Preset action * LinkPlay * tiny tweak --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --- source/_integrations/linkplay.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/source/_integrations/linkplay.md b/source/_integrations/linkplay.md index 3df702b2276..4facd1596cc 100644 --- a/source/_integrations/linkplay.md +++ b/source/_integrations/linkplay.md @@ -19,3 +19,21 @@ ha_dhcp: true The LinkPlay {% term integrations %} for Home Assistant allows you to control various media players based on the LinkPlay protocol. The integration supports auto-discovery on your local network through [Zeroconf](/integrations/zeroconf). {% include integrations/supported_brand.md %} + +## Actions + +The LinkPlay integration makes various custom actions available in addition to the [standard media player actions](/integrations/media_player/#actions). + +### Action `linkplay.play_preset` + +Play a preset on a LinkPlay media player. + +{% note %} +Companion apps, such as 4stream, allow to save music presets (for example, Spotify playlists). This action can be used to start playing these presets. +{% endnote %} + +| Data attribute | Optional | Description | +| ---------------------- | -------- | ----------- | +| `entity_id` | no | The speakers to target. To target all LinkPlay devices, use `all`. +| `preset_number` | no | The number of the preset to play. +