Doc for sending message after an alert goes to off (#2852)

This commit is contained in:
Josh 2017-07-03 02:25:05 -07:00 committed by Fredrik Lindqvist
parent 0399176e4a
commit 2ed22b3477

View File

@ -27,6 +27,7 @@ The `alert` component makes use of any of the `notifications` components. To set
alert:
garage_door:
name: Garage is open
done_message: Garage is closed
entity_id: input_boolean.garage_door
state: 'on'
repeat: 30
@ -39,6 +40,7 @@ alert:
Configuration variables:
- **name** (*Required*): The friendly name of the alert.
- **done_message** (*Optional*): 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`.
- **entity_id** (*Required*): The ID of the entity to watch.
- **state** (*Optional*): The problem condition for the entity. Defaults to `on`.
- **repeat** (*Required*): Number of minutes before the notification should be repeated. Can be either a number or a list of numbers.