From f9c0581076c5dcfa70ee14cf705bb489dbd26f55 Mon Sep 17 00:00:00 2001 From: On Freund Date: Thu, 1 Oct 2020 12:59:31 +0300 Subject: [PATCH] Add context to event trigger documentation (#14678) --- source/_docs/automation/trigger.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/_docs/automation/trigger.markdown b/source/_docs/automation/trigger.markdown index 479a7a66947..605baf37666 100644 --- a/source/_docs/automation/trigger.markdown +++ b/source/_docs/automation/trigger.markdown @@ -14,7 +14,7 @@ The following sections introduce all trigger types and further details to get st ### Event trigger -Fires when an event is being received. Events are the raw building blocks of Home Assistant. You can match events on just the event name or also require specific event data to be present. +Fires when an event is being received. Events are the raw building blocks of Home Assistant. You can match events on just the event name or also require specific event data or context to be present. Events can be fired by integrations or via the API. There is no limitation to the types. A list of built-in events can be found [here](/docs/configuration/events/). @@ -26,6 +26,8 @@ automation: # optional event_data: mood: happy + context: + user_id: MY_USER_ID ``` ### Home Assistant trigger