mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Event docs and integration: add related links (#34569)
This commit is contained in:
parent
78b51127dd
commit
2bcd9ecfbb
@ -1,6 +1,11 @@
|
||||
---
|
||||
title: "Events"
|
||||
description: "Describes all there is to know about events in Home Assistant."
|
||||
related:
|
||||
- docs: /docs/automation/trigger/#event-trigger
|
||||
title: Event triggers
|
||||
- docs: /integrations/event/
|
||||
title: Event integration
|
||||
---
|
||||
|
||||
The core of Home Assistant is the event bus. The event bus allows any integration to fire or listen for events. It is the core of everything.
|
||||
@ -29,7 +34,7 @@ In addition, all events contain a `data` dictionary with event-specific informat
|
||||
This event is fired when an service action is performed
|
||||
|
||||
| Field | Description |
|
||||
| ----------------- | ------------------------------------------------------------------------------ |
|
||||
| ----------------- | ---------------------------------------------------------------------- |
|
||||
| `domain` | Domain of the action. Example: `light`. |
|
||||
| `service` | The service action that is performed. Example: `turn_on` |
|
||||
| `service_data` | Dictionary with the call parameters. Example: `{ 'brightness': 120 }`. |
|
||||
@ -99,7 +104,7 @@ If you want to trigger automation on a Home Assistant stop event, we recommend u
|
||||
This event is fired when a new service action has been registered within Home Assistant.
|
||||
|
||||
| Field | Description |
|
||||
| --------- | ----------------------------------------------------------------------- |
|
||||
| --------- | ------------------------------------------------------------------------ |
|
||||
| `domain` | The domain of the integration that offers this action. Example: `light`. |
|
||||
| `service` | The name of the service action. Example: `turn_on` |
|
||||
|
||||
@ -108,7 +113,7 @@ This event is fired when a new service action has been registered within Home As
|
||||
This event is fired when a service action has been removed from Home Assistant.
|
||||
|
||||
| Field | Description |
|
||||
| --------- | ----------------------------------------------------------------------- |
|
||||
| --------- | ------------------------------------------------------------------------ |
|
||||
| `domain` | The domain of the integration that offers this action. Example: `light`. |
|
||||
| `service` | The name of the service action. Example: `turn_on` |
|
||||
|
||||
|
@ -10,6 +10,8 @@ ha_codeowners:
|
||||
- '@home-assistant/core'
|
||||
ha_integration_type: entity
|
||||
related:
|
||||
- docs: /docs/automation/trigger/#event-trigger
|
||||
title: Event triggers
|
||||
- docs: /docs/configuration/customizing-devices/
|
||||
title: Customizing devices
|
||||
- docs: /dashboards/
|
||||
|
Loading…
x
Reference in New Issue
Block a user