Support translating entity names (#88242)

This commit is contained in:
Erik Montnemery
2023-03-12 15:55:04 +01:00
committed by GitHub
parent 376a6eb82a
commit cf7e500a8e
9 changed files with 40 additions and 3 deletions

View File

@@ -286,6 +286,7 @@ def gen_strings_schema(config: Config, integration: Integration) -> vol.Schema:
vol.Optional("entity"): {
str: {
str: {
vol.Optional("name"): cv.string_with_no_html,
vol.Optional("state_attributes"): {
str: {
vol.Optional("name"): cv.string_with_no_html,