ws_subscribe_trigger
Wait for a Home Assistant trigger to fire and return the trigger context. Configure any trigger like state changes to automate actions.
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 |
|---|---|---|---|
| timeout | No | ||
| trigger | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |