mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Support shared keys starting with period in services.yaml (#118789)
This commit is contained in:
@@ -78,7 +78,10 @@ CUSTOM_INTEGRATION_SERVICE_SCHEMA = vol.Any(
|
||||
)
|
||||
|
||||
CORE_INTEGRATION_SERVICES_SCHEMA = vol.Schema(
|
||||
{cv.slug: CORE_INTEGRATION_SERVICE_SCHEMA}
|
||||
{
|
||||
vol.Remove(vol.All(str, service.starts_with_dot)): object,
|
||||
cv.slug: CORE_INTEGRATION_SERVICE_SCHEMA,
|
||||
}
|
||||
)
|
||||
CUSTOM_INTEGRATION_SERVICES_SCHEMA = vol.Schema(
|
||||
{cv.slug: CUSTOM_INTEGRATION_SERVICE_SCHEMA}
|
||||
|
||||
Reference in New Issue
Block a user