mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Deprecate NZBGet YAML configuration (#50603)
This commit is contained in:
parent
20a39ab7e1
commit
a8e1a68d1f
@ -34,6 +34,8 @@ from .coordinator import NZBGetDataUpdateCoordinator
|
||||
PLATFORMS = ["sensor", "switch"]
|
||||
|
||||
CONFIG_SCHEMA = vol.Schema(
|
||||
vol.All(
|
||||
cv.deprecated(DOMAIN),
|
||||
{
|
||||
DOMAIN: vol.Schema(
|
||||
{
|
||||
@ -49,6 +51,7 @@ CONFIG_SCHEMA = vol.Schema(
|
||||
}
|
||||
)
|
||||
},
|
||||
),
|
||||
extra=vol.ALLOW_EXTRA,
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user