core/homeassistant/components/automation/services.yaml

38 lines
1.0 KiB
YAML
Raw Normal View History

# Describes the format for available automation services
turn_on:
description: Enable an automation.
fields:
entity_id:
description: Name of the automation to turn on.
example: "automation.notify_home"
turn_off:
description: Disable an automation.
fields:
entity_id:
description: Name of the automation to turn off.
example: "automation.notify_home"
stop_actions:
description: Stop currently running actions (defaults to true).
example: false
toggle:
description: Toggle an automation.
fields:
entity_id:
description: Name of the automation to toggle on/off.
example: "automation.notify_home"
trigger:
description: Trigger the action of an automation.
fields:
entity_id:
description: Name of the automation to trigger.
example: "automation.notify_home"
skip_condition:
description: Whether or not the condition will be skipped (defaults to true).
example: true
reload:
description: Reload the automation configuration.