From 6bc502e475448c562d1b08a4cb4680c05188148b Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Tue, 4 Apr 2017 15:48:38 +0000 Subject: [PATCH] Closes #125 - Thanks to @chrio 's excellent suggestion to prevent doubleclicks! --- automation/dash_buttons.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/automation/dash_buttons.yaml b/automation/dash_buttons.yaml index bdb2cb4c..886555a7 100755 --- a/automation/dash_buttons.yaml +++ b/automation/dash_buttons.yaml @@ -8,5 +8,12 @@ event_type: brooklyn_dash action: + # Disable this automation + - service: automation.turn_off + entity_id: dash_buttons.yaml - service: light.toggle entity_id: light.office_lamp + - delay: + minutes: 1 + # enable this automation - This prevents duplicate pushes. + - service: automation.turn_on