mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Rename entry_id template method to config_entry_id (#24689)
This commit is contained in:
parent
0211f64fe5
commit
7fea1d8934
@ -262,14 +262,14 @@ The same thing can also be expressed as a test:
|
||||
|
||||
### 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
|
||||
|
||||
{% raw %}
|
||||
|
||||
```text
|
||||
{{ entry_id('sensor.sony') }} # deadbeefdeadbeefdeadbeefdeadbeef
|
||||
{{ config_entry_id('sensor.sony') }} # deadbeefdeadbeefdeadbeefdeadbeef
|
||||
```
|
||||
|
||||
{% endraw %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user