From 8bd0591e52fd4cbbe0321e948bf08ff1cd60fd6e Mon Sep 17 00:00:00 2001 From: Adam <22942687+SilvrrGIT@users.noreply.github.com> Date: Thu, 3 Sep 2020 04:26:21 -0500 Subject: [PATCH] Add explanation of multiple entities for the same trigger (#14375) Addressing Issue #14304 --- source/_docs/automation/trigger.markdown | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/source/_docs/automation/trigger.markdown b/source/_docs/automation/trigger.markdown index ea3f3322f77..c6ae2252392 100644 --- a/source/_docs/automation/trigger.markdown +++ b/source/_docs/automation/trigger.markdown @@ -428,3 +428,17 @@ automation: - platform: sun event: sunset ``` + +### Multiple Entity IDs for the same Trigger + +It is possible to specify multiple entities for the same trigger. To do so add multiple entities using a nested list. The trigger will fire and start, [processing](#what-are-triggers) your automation each time the trigger is true for each entity listed. + +```yaml +automation: + trigger: + - platform: state + entity_id: + - sensor.one + - sensor.two + - sensor.three +```