mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 13:26:54 +00:00
Document the automation.trigger service (#15047)
This commit is contained in:
parent
5294a98d8f
commit
6e5715d4cd
@ -98,7 +98,7 @@ This service disables the automation's triggers, and optionally stops any curren
|
|||||||
Service data attribute | Optional | Description
|
Service data attribute | Optional | Description
|
||||||
-|-|-
|
-|-|-
|
||||||
`entity_id` | no | Entity ID of automation to turn on. Can be a list. `none` or `all` are also accepted.
|
`entity_id` | no | Entity ID of automation to turn on. Can be a list. `none` or `all` are also accepted.
|
||||||
`stop_actions` | yes | Stop any currently active actions (defaults to true.)
|
`stop_actions` | yes | Stop any currently active actions (defaults to true).
|
||||||
|
|
||||||
### `automation.toggle`
|
### `automation.toggle`
|
||||||
|
|
||||||
@ -111,3 +111,12 @@ Service data attribute | Optional | Description
|
|||||||
### `automation.reload`
|
### `automation.reload`
|
||||||
|
|
||||||
This service reloads all automations, stopping any currently active actions in all of them.
|
This service reloads all automations, stopping any currently active actions in all of them.
|
||||||
|
|
||||||
|
### `automation.trigger`
|
||||||
|
|
||||||
|
This service will trigger the action of an automation. By default it bypasses any conditions, though that can be changed via the `skip_condition` attribute.
|
||||||
|
|
||||||
|
Service data attribute | Optional | Description
|
||||||
|
-|-|-
|
||||||
|
`entity_id` | no | Entity ID of automation to trigger. Can be a list. `none` or `all` are also accepted.
|
||||||
|
`skip_condition` | yes | Whether or not the condition will be skipped (defaults to true).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user