Support requesting translations for multiple integrations in a single request (#71979)
This commit is contained in:
parent
78f0716574
commit
a614ddca28
5 changed files with 88 additions and 15 deletions
|
@ -667,7 +667,7 @@ def websocket_get_themes(
|
|||
"type": "frontend/get_translations",
|
||||
vol.Required("language"): str,
|
||||
vol.Required("category"): str,
|
||||
vol.Optional("integration"): str,
|
||||
vol.Optional("integration"): vol.All(cv.ensure_list, [str]),
|
||||
vol.Optional("config_flow"): bool,
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue