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.