Add selectors to Alert service definitions (#46627)

This commit is contained in:
Franck Nijhof
2021-02-18 12:23:50 +01:00
committed by GitHub
parent da662c4890
commit 9f3fdb1b68

View File

@@ -1,18 +1,11 @@
toggle: toggle:
description: Toggle alert's notifications. description: Toggle alert's notifications
fields: target:
entity_id:
description: Name of the alert to toggle.
example: alert.garage_door_open
turn_off: turn_off:
description: Silence alert's notifications. description: Silence alert's notifications
fields: target:
entity_id:
description: Name of the alert to silence.
example: alert.garage_door_open
turn_on: turn_on:
description: Reset alert's notifications. description: Reset alert's notifications
fields: target:
entity_id:
description: Name of the alert to reset.
example: alert.garage_door_open