Deprecate Denon HEOS YAML configuration (#50104)
This commit is contained in:
parent
084fe1fb68
commit
6cb5bf2b88
1 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue