Fire an event
ha_fire_eventFire a custom event on the Home Assistant event bus to trigger event-based automations for testing; writes must be enabled.
Instructions
Fire a custom event on the Home Assistant event bus (advanced). Useful for triggering event-based automations during testing. Requires writes to be enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_data | No | Optional event data payload. | |
| event_type | Yes | Event type, e.g. 'my_custom_event'. | |
| instance_id | No | Optional: the instance you mean (as listed by vomehome_list_instances). When given, the call is refused if this session is targeting a different home, instead of answering from it. |