mirror of
https://github.com/Xevion/go-ha.git
synced 2025-12-11 00:07:24 -06:00
docs: normalize & make basic corrections to documentation
This commit is contained in:
@@ -17,8 +17,7 @@ type FireEventRequest struct {
|
||||
EventData map[string]any `json:"event_data,omitempty"`
|
||||
}
|
||||
|
||||
// Fire an event. Takes an event type and an optional map that is sent
|
||||
// as `event_data`.
|
||||
// Fire an event. Takes an event type and an optional map that is sent as `event_data`.
|
||||
func (e Event) Fire(eventType string, eventData ...map[string]any) error {
|
||||
req := FireEventRequest{
|
||||
Id: internal.NextId(),
|
||||
|
||||
Reference in New Issue
Block a user