Files
HomeAssistance/custom_components/spotifyplus/sentences/en/spotifyplus_PlayerDeckControl_en.yaml
T
2026-06-05 22:34:31 -04:00

105 lines
3.4 KiB
YAML

# ============================================================================
# SpotifyPlus integration intent custom sentence and response definitions.
#
# Language: en, English
# Intent: SpotifyPlusPlayerDeckControl
# Location: custom_sentences/en/spotifyplus_PlayerDeckControl_en.yaml
# ============================================================================
language: en
intents:
SpotifyPlusPlayerDeckControl:
data:
- sentences:
- "spotify {spotifyplus_player_deck_control}"
# Base sentence phrases for this intent.
# This sentence is recognized when a name / area is NOT provided in the spoken command.
# In this case, the first active SpotifyPlus media player is used.
# __Example Phrases - No Player Name__
# - "spotify pause"
# - "spotify pause track"
# - "spotify stop"
# - "spotify stop track"
# - "spotify resume"
# - "spotify resume play"
# - "spotify resume player"
# - "spotify resume track"
# - "spotify start"
# - "spotify start track"
# - "spotify start player"
# - "spotify start play"
# - "spotify next track"
# - "spotify play next track"
# - "spotify play the next track"
# - "spotify skip to next track"
# - "spotify skip track"
# - "spotify previous track"
# - "spotify play previous track"
# - "spotify play the previous track"
# - "spotify skip to previous track"
# - "spotify restart track"
# - "spotify skip to start of track"
slots:
name: "Spotify Premium" # default player to use.
delay: 0.50
response: default
- sentences:
- "spotify {spotifyplus_player_deck_control} <on_spotifyplus_player_name>"
# This sentence is recognized when a player name is provided in the spoken
# command (e.g. "on player Spotify Premium", "on Todds player", etc).
# Supports the same base sentence phrases for this intent.
# __Example Phrases - By Player Name__
# - "spotify pause track on player spotify premium"
# - "spotify pause track on spotify premium player"
slots:
name: ""
delay: 0.50
response: default
- sentences:
- "spotify {spotifyplus_player_deck_control} <in_spotifyplus_player_area>"
# This sentence is recognized when a player area is provided in the spoken
# command (e.g. "in the Living Room area", "in the Living Room", etc).
# Supports the same base sentence phrases for this intent.
# __Example Phrases - By Player Area__
# - "spotify pause track in the Office area"
# - "spotify pause track in the Office"
slots:
area: ""
name: ""
delay: 0.50
response: default
# ============================================================================
# Custom response definitions for THIS intent.
# Note - Shared responses for all intents are stored in the Common file.
# ============================================================================
responses:
intents:
SpotifyPlusPlayerDeckControl:
default: "" # not used - see common `player_deck_control_xxxxxxx` messages.