ws_subscribe_trigger
Waits for a Home Assistant trigger to fire and returns the trigger context. Configure the trigger condition and optional timeout.
Instructions
Wait for a HA trigger to fire. Returns the trigger context when it fires. Example trigger: {"platform": "state", "entity_id": "binary_sensor.motion", "to": "on"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trigger | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |