Home Assistant Generic WS Trigger
AI-generatedSummary
Subscribe to a Home Assistant WebSocket message type and start the workflow whenever a matching event arrives. Enter the message type and, if the subscription requires parameters, provide them as fields or a JSON object; each received event is emitted as one output item.
Inputs
- Type (required) — Home Assistant WebSocket message type to subscribe to.
- Has Parameters — Enable when the subscription needs additional parameters.
- Specify Body — Choose individual fields or JSON for the parameters; shown when Has Parameters is enabled.
- Body Parameters — Add parameter names and values when using fields. Repeated names overwrite earlier values.
- JSON — Provide the parameter object as valid JSON when using JSON body mode.
Output shape
A stream of event items, one per received WebSocket event, each containing the event as JSON.
Requires Home Assistant WebSocket credentials. The Type field is required. The trigger reports subscription errors and unexpected connection closure as workflow errors.