Add translation parameters on selector select (#25692)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Jan Bouwhuis 2023-01-17 19:08:59 +01:00 committed by GitHub
parent 2633503931
commit e2bd9cdc87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -802,6 +802,15 @@ mode:
will use a `dropdown` input.
type: string
required: false
translation_key:
description: >
Allows translations provided by an integration where `translation_key`
is the translation key that is providing the selector option strings
translation. See the documentation on
[Backend Localization](https://developers.home-assistant.io/docs/internationalization/core/#selectors)
for more information.
type: string
required: false
{% endconfiguration %}
Alternatively, a mapping can be used for the options. When you want to return