ws_subscribe_trigger
Wait for a Home Assistant trigger, such as a state change, and return the trigger context upon firing.
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 |