Fix platform variables for device platform (#24343)

This commit is contained in:
Jallermax 2023-01-17 16:28:06 +04:00 committed by GitHub
parent 6278fa7c97
commit 646fa7d5c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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