Skip to content

Commit

Permalink
Translation support for device trigger extra fields
Browse files Browse the repository at this point in the history
  • Loading branch information
farmio committed May 29, 2024
1 parent 461ac1e commit 6fe3e30
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions script/hassfest/translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,10 @@ def gen_strings_schema(config: Config, integration: Integration) -> vol.Schema:
vol.Optional("condition_type"): {str: translation_value_validator},
vol.Optional("trigger_type"): {str: translation_value_validator},
vol.Optional("trigger_subtype"): {str: translation_value_validator},
vol.Optional("extra_fields"): {str: translation_value_validator},
vol.Optional("extra_fields_descriptions"): {
str: translation_value_validator
},
},
vol.Optional("system_health"): {
vol.Optional("info"): cv.schema_with_slug_keys(
Expand Down

0 comments on commit 6fe3e30

Please sign in to comment.