From 7fea1d8934b372ebac97a7c55e424aff9545dd99 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 25 Oct 2022 13:48:18 +0200 Subject: [PATCH] Rename entry_id template method to config_entry_id (#24689) --- source/_docs/configuration/templating.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_docs/configuration/templating.markdown b/source/_docs/configuration/templating.markdown index 3dcb2917573..98cc60763a8 100644 --- a/source/_docs/configuration/templating.markdown +++ b/source/_docs/configuration/templating.markdown @@ -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 %}