Deprecate Luftdaten YAML configuration (#50365)

This commit is contained in:
Franck Nijhof
2021-05-09 20:27:56 +02:00
committed by GitHub
parent b2cee2e602
commit 3f463f22a1

View File

@@ -70,6 +70,8 @@ SENSOR_SCHEMA = vol.Schema(
)
CONFIG_SCHEMA = vol.Schema(
vol.All(
cv.deprecated(DOMAIN),
{
DOMAIN: vol.Schema(
{
@@ -82,6 +84,7 @@ CONFIG_SCHEMA = vol.Schema(
}
)
},
),
extra=vol.ALLOW_EXTRA,
)