mirror of
https://github.com/home-assistant/core.git
synced 2025-07-12 15:57:06 +00:00
Deprecate SmartHab YAML configuration (#50602)
This commit is contained in:
parent
8fcf06a2a9
commit
f5c31b89f8
@ -17,6 +17,8 @@ PLATFORMS = ["light", "cover"]
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
CONFIG_SCHEMA = vol.Schema(
|
||||
vol.All(
|
||||
cv.deprecated(DOMAIN),
|
||||
{
|
||||
DOMAIN: vol.Schema(
|
||||
{
|
||||
@ -25,6 +27,7 @@ CONFIG_SCHEMA = vol.Schema(
|
||||
}
|
||||
)
|
||||
},
|
||||
),
|
||||
extra=vol.ALLOW_EXTRA,
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user