mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Move ZHA config panel section translations to the backend (#49816)
This commit is contained in:
committed by
GitHub
parent
684ea9e49b
commit
4ed74cd2f5
@@ -142,6 +142,12 @@ def gen_strings_schema(config: Config, integration: Integration):
|
||||
vol.Optional("system_health"): {
|
||||
vol.Optional("info"): {str: cv.string_with_no_html}
|
||||
},
|
||||
vol.Optional("config_panel"): cv.schema_with_slug_keys(
|
||||
cv.schema_with_slug_keys(
|
||||
cv.string_with_no_html, slug_validator=lowercase_validator
|
||||
),
|
||||
slug_validator=vol.Any("_", cv.slug),
|
||||
),
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user