From 646fa7d5c5c32301ab64ce91e679d0d6c9a05b85 Mon Sep 17 00:00:00 2001 From: Jallermax Date: Tue, 17 Jan 2023 16:28:06 +0400 Subject: [PATCH] Fix platform variables for device platform (#24343) --- source/_docs/automation/templating.markdown | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/_docs/automation/templating.markdown b/source/_docs/automation/templating.markdown index a561d298f92..a61ef722765 100644 --- a/source/_docs/automation/templating.markdown +++ b/source/_docs/automation/templating.markdown @@ -41,12 +41,11 @@ The following describes trigger data associated with all platforms. ### Device +Inherites template variables from [event](#event) or [state](#state) template based on the type of trigger selected for the device. + | Template variable | Data | | ---- | ---- | | `trigger.platform` | Hardcoded: `device`. -| `trigger.event` | Event object that matched. -| `trigger.event.event_type` | Event type. -| `trigger.event.data` | Optional event data. ### Event