mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +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
|
### 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 %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user