mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-10 10:56:49 +00:00
Add translation parameters on selector select (#25692)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
2633503931
commit
e2bd9cdc87
@ -802,6 +802,15 @@ mode:
|
|||||||
will use a `dropdown` input.
|
will use a `dropdown` input.
|
||||||
type: string
|
type: string
|
||||||
required: false
|
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 %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
Alternatively, a mapping can be used for the options. When you want to return
|
Alternatively, a mapping can be used for the options. When you want to return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user