mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
2024.3: Finalize state_translated
This commit is contained in:
parent
71411ddda6
commit
7bc4e915ff
@ -182,11 +182,11 @@ Remote UI feature.
|
||||
|
||||
## Translating states in your templates
|
||||
|
||||
Are you using templates to send notifications in automations? If so,
|
||||
Are you using {% term templates %} to send notifications in automations? If so,
|
||||
[@PiotrMachowski] might just have added something new you need!
|
||||
|
||||
A new template method, `state_translated`, to translate entity states directly
|
||||
in your language from your templates! Consider this template example:
|
||||
from your templates! Consider this template example:
|
||||
|
||||
{% raw %}
|
||||
```yaml
|
||||
|
Loading…
x
Reference in New Issue
Block a user