From 433cb008b936270104ca513b0bce3ad5b3a9de8e Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 2 Oct 2020 07:56:22 -0500 Subject: [PATCH] Tweak wording about rate limits (#14776) Co-authored-by: Paulus Schoutsen --- source/_integrations/binary_sensor.template.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_integrations/binary_sensor.template.markdown b/source/_integrations/binary_sensor.template.markdown index a01f176eb32..d96740e06a5 100644 --- a/source/_integrations/binary_sensor.template.markdown +++ b/source/_integrations/binary_sensor.template.markdown @@ -319,6 +319,8 @@ binary_sensor: ``` {% endraw %} +If the template accesses every state on the system or all states under a specific domain, a default rate limit of one update per second is applied. If the template only accesses specific states, no rate limit is applied. The rate limit can be disabled by inserting {% raw %}`{{ rate_limit(seconds=0) }}`{% endraw %} into the template. + ### Working without entities The `template` sensors are not limited to use attributes from other entities but can also work with [Home Assistant's template extensions](/docs/configuration/templating/#home-assistant-template-extensions). If the template includes some non-deterministic property such as time in its calculation, the result will not continually update, but will only update when some entity referenced by the template updates.