mirror of
https://github.com/home-assistant/core.git
synced 2026-02-15 07:36:16 +00:00
Make add entry translatable (#159901)
This commit is contained in:
committed by
GitHub
parent
6ee58b96ca
commit
3fe91751f5
@@ -214,6 +214,10 @@ def gen_data_entry_schema(
|
||||
vol.Required("user"): translation_value_validator,
|
||||
str: translation_value_validator,
|
||||
}
|
||||
else:
|
||||
schema[vol.Optional("initiate_flow")] = {
|
||||
vol.Required("user"): translation_value_validator,
|
||||
}
|
||||
if flow_title == REQUIRED:
|
||||
schema[vol.Required("title")] = translation_value_validator
|
||||
elif flow_title == REMOVED:
|
||||
|
||||
Reference in New Issue
Block a user