Fire a Home Assistant event
services_fire_eventFire an arbitrary Home Assistant event with optional JSON data to trigger automations or integrations listening for a specific event type.
Instructions
Fire an arbitrary Home Assistant event with an optional data payload.
Posts to /api/events/<event_type> with event_data as the JSON body;
any automation or integration listening for event_type reacts to it,
so the effect depends entirely on what is registered to listen.
Use when: triggering automations or integrations that listen for a specific event type. Returns: dict confirming the event was fired, as returned by Home Assistant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_data | No | Event data payload delivered to listeners. Omit for no payload. | |
| event_type | Yes | Event type to fire, e.g. 'my_custom_event'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||