Added info about templates (#6554)

As somebody pointed out in the forum, you can use templates in the alerts.
This commit is contained in:
DubhAd 2018-10-06 14:18:50 +01:00 committed by Franck Nijhof
parent 1edbbfeb1f
commit dfda4b3324

View File

@ -51,13 +51,13 @@ alert:
{% configuration %}
name:
description: The friendly name of the alert.
description: The friendly name of the alert. This can include a [template][template].
required: true
type: string
done_message:
description: >
A message sent after an alert transitions from `on` to `off`. Is only sent
if an alert notification was sent for transitioning from `off` to `on`.
if an alert notification was sent for transitioning from `off` to `on`. This can include a [template][template].
required: false
type: string
entity_id:
@ -191,3 +191,5 @@ sent 30 minutes after that, and a 60 minute delay will fall between every
following notification.
For example, if the garage door opens at 2:00, a notification will be
sent at 2:15, 2:45, 3:45, 4:45, etc., continuing every 60 minutes.
[template]: /docs/configuration/templating/