Files
spotify-voice-assistant/custom_components/spotify_search/services.yaml
T
Chad Auld 4d477fa218 Update documentation for v1.0.0 release
Major documentation updates:
- Streamline README by removing redundant sections
- Link to example files instead of duplicating configuration
- Fix typos and update model recommendations
- Add GPU acceleration documentation link
- Remove outdated "Prompt Optimization" section

Test suite improvements:
- Add comprehensive queue management tests (5 new tests)
- Add shuffle control tests (3 new tests)
- Fix combined query references to match current system prompt
- Update total test count to 53
- Renumber all test sections for consistency
- TODO refresh
2025-11-20 18:14:06 -07:00

40 lines
1.5 KiB
YAML

search:
name: Search Spotify
description: >
Search Spotify for artists, albums, tracks, or playlists and return the Spotify URI.
IMPORTANT: This service only finds the music URI; it does not play it.
Uses exact match when available. Leverages your existing Home Assistant Spotify integration.
fields:
query:
name: Query
description: >
The specific name to search for (e.g., "Coldplay", "Dark Side of the Moon").
Provide ONLY the name. Do not include command words like "play", "listen to", or "on the speaker".
required: true
example: "Coldplay"
selector:
text:
type:
name: Type
description: >
Type of content to search for.
Use 'playlist' if the user asks for a Playlist OR a Genre/Mood (e.g., 'Rock', 'Jazz').
Playlist searches check your personal playlists first, then fall back to public Spotify playlists.
required: false
default: "artist"
example: "artist"
selector:
select:
options:
- "artist"
- "album"
- "track"
- "playlist"
clear_cache:
name: Clear Cache
description: >
Clear the cached Spotify client and user playlist data.
The integration caches for performance (15-50x faster searches).
Use this service after adding/removing playlists in Spotify or if you experience issues after removing or re-adding the Spotify integration.
The cache automatically invalidates when the Spotify integration is reloaded.