mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
Added info about templates (#6554)
As somebody pointed out in the forum, you can use templates in the alerts.
This commit is contained in:
parent
1edbbfeb1f
commit
dfda4b3324
@ -51,13 +51,13 @@ alert:
|
|||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
name:
|
name:
|
||||||
description: The friendly name of the alert.
|
description: The friendly name of the alert. This can include a [template][template].
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
done_message:
|
done_message:
|
||||||
description: >
|
description: >
|
||||||
A message sent after an alert transitions from `on` to `off`. Is only sent
|
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
|
required: false
|
||||||
type: string
|
type: string
|
||||||
entity_id:
|
entity_id:
|
||||||
@ -191,3 +191,5 @@ sent 30 minutes after that, and a 60 minute delay will fall between every
|
|||||||
following notification.
|
following notification.
|
||||||
For example, if the garage door opens at 2:00, a notification will be
|
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.
|
sent at 2:15, 2:45, 3:45, 4:45, etc., continuing every 60 minutes.
|
||||||
|
|
||||||
|
[template]: /docs/configuration/templating/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user