diff --git a/homeassistant/components/heos/__init__.py b/homeassistant/components/heos/__init__.py index 56155cb21a2..3a9bedbb376 100644 --- a/homeassistant/components/heos/__init__.py +++ b/homeassistant/components/heos/__init__.py @@ -31,7 +31,11 @@ from .const import ( PLATFORMS = [MEDIA_PLAYER_DOMAIN] CONFIG_SCHEMA = vol.Schema( - {DOMAIN: vol.Schema({vol.Required(CONF_HOST): cv.string})}, extra=vol.ALLOW_EXTRA + vol.All( + cv.deprecated(DOMAIN), + {DOMAIN: vol.Schema({vol.Required(CONF_HOST): cv.string})}, + ), + extra=vol.ALLOW_EXTRA, ) MIN_UPDATE_SOURCES = timedelta(seconds=1)