diff --git a/source/_docs/automation/trigger.markdown b/source/_docs/automation/trigger.markdown index 443349800f6..d9645b93568 100644 --- a/source/_docs/automation/trigger.markdown +++ b/source/_docs/automation/trigger.markdown @@ -102,6 +102,19 @@ Listing above and below together means the numeric_state has to be between the t In the example above, the trigger would fire if a numeric_state goes to 17.1-24.9 (from strict above 17 and strict below 25). +Number helpers (`input_number` entities) can be used in the `above` and `below` thresholds, making +the trigger more dynamic, like: + +```yaml +automation: + trigger: + platform: numeric_state + entity_id: sensor.temperature + # input_number entity id can be specified for above and/or below thresholds + above: input_number.temperature_threshold_high + below: input_number.temperature_threshold_low +``` + The `for:` can also be specified as `HH:MM:SS` like this: {% raw %}