Changed to:  +For state and numeric_state triggers, you may use a [template](/docs/configuration/templating/) for configuring the `entity_id` property. The template can return a list of entities. The template will only be evaluated at configuration time. Only [limited templates](/docs/configuration/templating/#limited-templates) are allowed.