Rename integration from spotify_search to spotify_voice_assistant

Rename integration for consistent branding:
- User-facing name: "Spotify Voice Assistant"
- Integration name: "Spotify Voice Assistant Search"
- Domain: spotify_voice_assistant

Changes:
- Rename custom_components/spotify_search/ to spotify_voice_assistant/
- Update domain in manifest.json and __init__.py
- Update all service references in examples
- Update all documentation references
This commit is contained in:
Chad Auld committed 2025-11-22 11:57:28 -07:00
1 parent 363d2bf958
commit 88f2f6ee27
7 files changed
+46 -46

No files matched your search

@@ -1,4 +1,4 @@
"""Spotify Search Integration for Home Assistant."""
"""Spotify Voice Assistant Search Integration for Home Assistant."""
import logging
import re
import voluptuous as vol
@@ -8,7 +8,7 @@ from homeassistant.helpers.typing import ConfigType
_LOGGER = logging.getLogger(__name__)
DOMAIN = "spotify_search"
DOMAIN = "spotify_voice_assistant"
VALID_SEARCH_TYPES = {"artist", "album", "track", "playlist"}
CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN)
@@ -106,7 +106,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
search_type = call.data.get("type", "artist")
if not raw_query:
_LOGGER.error("No query provided to spotify_search")
_LOGGER.error("No query provided to spotify_voice_assistant")
return {"error": "No query provided"}
if search_type not in VALID_SEARCH_TYPES:
@@ -1,6 +1,6 @@
{
"domain": "spotify_search",
"name": "Spotify Voice Assistant",
"domain": "spotify_voice_assistant",
"name": "Spotify Voice Assistant Search",
"codeowners": ["@cauld"],
"config_flow": false,
"dependencies": ["spotify"],