Document the automation.trigger service (#15047)

This commit is contained in:
boc-the-git 2020-10-10 02:29:42 +11:00 committed by GitHub
parent 5294a98d8f
commit 6e5715d4cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ This service disables the automation's triggers, and optionally stops any curren
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.
`stop_actions` | yes | Stop any currently active actions (defaults to true.)
`stop_actions` | yes | Stop any currently active actions (defaults to true).
### `automation.toggle`
@ -111,3 +111,12 @@ Service data attribute | Optional | Description
### `automation.reload`
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).