Fix Hassfest validation by adding CONFIG_SCHEMA

Add empty config schema to satisfy Hassfest requirement. Integration has no configuration parameters but requires the schema definition.
This commit is contained in:
Chad Auld
2025-11-20 19:52:34 -07:00
parent 858ddd336e
commit b49fa1a54b
@@ -1,7 +1,9 @@
"""Spotify Search Integration for Home Assistant."""
import logging
import re
import voluptuous as vol
from homeassistant.core import HomeAssistant, ServiceCall
import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.typing import ConfigType
_LOGGER = logging.getLogger(__name__)
@@ -9,6 +11,8 @@ _LOGGER = logging.getLogger(__name__)
DOMAIN = "spotify_search"
VALID_SEARCH_TYPES = {"artist", "album", "track", "playlist"}
CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN)
# Cache Spotify client to avoid repeated lookups
_spotify_cache = {
"client": None,