Support requesting translations for multiple integrations in a single request (#71979)

This commit is contained in:
J. Nick Koston 2022-05-17 01:23:11 -05:00 committed by GitHub
parent 78f0716574
commit a614ddca28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 88 additions and 15 deletions

View file

@ -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,
}
)