Add pre-defined entity name translations (#89792)
This commit is contained in:
parent
e6f280cf7a
commit
f9919bb7cf
34 changed files with 402 additions and 4 deletions
|
@ -266,6 +266,7 @@ def gen_strings_schema(config: Config, integration: Integration) -> vol.Schema:
|
|||
},
|
||||
vol.Optional("entity_component"): cv.schema_with_slug_keys(
|
||||
{
|
||||
vol.Optional("name"): str,
|
||||
vol.Optional("state"): cv.schema_with_slug_keys(
|
||||
cv.string_with_no_html,
|
||||
slug_validator=translation_key_validator,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue