mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Fix platform variables for device platform (#24343)
This commit is contained in:
parent
6278fa7c97
commit
646fa7d5c5
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user