From a30e2cd33c9056e2dbc7e7af802d6a603eb27a6a Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 26 Mar 2024 19:41:57 +0100 Subject: [PATCH] Allow numeric state trigger/condition against zone entities (#32038) Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --- source/_docs/automation/trigger.markdown | 4 ++-- source/_docs/scripts/conditions.markdown | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/_docs/automation/trigger.markdown b/source/_docs/automation/trigger.markdown index dc4fcc8a889..486eae20953 100644 --- a/source/_docs/automation/trigger.markdown +++ b/source/_docs/automation/trigger.markdown @@ -277,8 +277,8 @@ Listing above and below together means the numeric_state has to be between the t In the example above, the trigger would fire a single time if a numeric_state goes into the 17.1-24.9 range (above 17 and below 25). It will only fire again, once it has left the defined range and enters it again. -Number helpers (`input_number` entities), `number` and `sensor` entities that -contain a numeric value, can be used in the `above` and `below` thresholds, +Number helpers (`input_number` entities), `number`, `sensor`, and `zone` entities +that contain a numeric value, can be used in the `above` and `below` thresholds, making the trigger more dynamic, like: ```yaml diff --git a/source/_docs/scripts/conditions.markdown b/source/_docs/scripts/conditions.markdown index 71529b270f5..2860510c95a 100644 --- a/source/_docs/scripts/conditions.markdown +++ b/source/_docs/scripts/conditions.markdown @@ -218,8 +218,8 @@ condition: below: 25 ``` -Number helpers (`input_number` entities), `number` and `sensor` entities that -contain a numeric value, can be used in the `above` and `below` +Number helpers (`input_number` entities), `number`, `sensor`, and `zone` entities +that contain a numeric value, can be used in the `above` and `below` options to make the condition more dynamic. ```yaml