From 9f3fdb1b68de84a6d441f04bc2d251c0c504856e Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 18 Feb 2021 12:23:50 +0100 Subject: [PATCH] Add selectors to Alert service definitions (#46627) --- homeassistant/components/alert/services.yaml | 23 +++++++------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/homeassistant/components/alert/services.yaml b/homeassistant/components/alert/services.yaml index 99530200546..c8c1d5d814a 100644 --- a/homeassistant/components/alert/services.yaml +++ b/homeassistant/components/alert/services.yaml @@ -1,18 +1,11 @@ toggle: - description: Toggle alert's notifications. - fields: - entity_id: - description: Name of the alert to toggle. - example: alert.garage_door_open + description: Toggle alert's notifications + target: + turn_off: - description: Silence alert's notifications. - fields: - entity_id: - description: Name of the alert to silence. - example: alert.garage_door_open + description: Silence alert's notifications + target: + turn_on: - description: Reset alert's notifications. - fields: - entity_id: - description: Name of the alert to reset. - example: alert.garage_door_open + description: Reset alert's notifications + target: