Rename entry_id template method to config_entry_id (#24689)

This commit is contained in:
Franck Nijhof 2022-10-25 13:48:18 +02:00 committed by GitHub
parent 0211f64fe5
commit 7fea1d8934
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -262,14 +262,14 @@ The same thing can also be expressed as a test:
### Config Entries ### Config Entries
- `entry_id(entity_id)` returns the config entry ID for a given entity ID. Can also be used as a filter. - `config_entry_id(entity_id)` returns the config entry ID for a given entity ID. Can also be used as a filter.
#### Config entries examples #### Config entries examples
{% raw %} {% raw %}
```text ```text
{{ entry_id('sensor.sony') }} # deadbeefdeadbeefdeadbeefdeadbeef {{ config_entry_id('sensor.sony') }} # deadbeefdeadbeefdeadbeefdeadbeef
``` ```
{% endraw %} {% endraw %}