From c0001894aaaf908692e2f2ddded8212b5f535315 Mon Sep 17 00:00:00 2001 From: Simon Lamon <32477463+silamon@users.noreply.github.com> Date: Mon, 7 Oct 2024 10:13:43 +0200 Subject: [PATCH] Linkplay Presets (#35047) --- source/_integrations/linkplay.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/source/_integrations/linkplay.md b/source/_integrations/linkplay.md index 5b1bb5572bc..d2aa397cecf 100644 --- a/source/_integrations/linkplay.md +++ b/source/_integrations/linkplay.md @@ -18,3 +18,20 @@ ha_iot_class: Local Polling 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/config_flow.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.