Deprecate VeSync YAML configuration (#50652)
This commit is contained in:
parent
625e6ceff3
commit
b2c0bebbf0
1 changed files with 11 additions and 8 deletions
|
@ -26,6 +26,8 @@ PLATFORMS = ["switch", "fan", "light"]
|
|||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
CONFIG_SCHEMA = vol.Schema(
|
||||
vol.All(
|
||||
cv.deprecated(DOMAIN),
|
||||
{
|
||||
DOMAIN: vol.Schema(
|
||||
{
|
||||
|
@ -34,6 +36,7 @@ CONFIG_SCHEMA = vol.Schema(
|
|||
}
|
||||
)
|
||||
},
|
||||
),
|
||||
extra=vol.ALLOW_EXTRA,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue