Fixed double entries from double sends on the Dash Buttons.

This commit is contained in:
CCOSTAN
2017-04-09 22:32:12 +00:00
parent 9d36d7320e
commit 03a539434e
2 changed files with 8 additions and 3 deletions

View File

@@ -10,7 +10,7 @@
action: action:
# Disable this automation # Disable this automation
- service: automation.turn_off - service: automation.turn_off
entity_id: dash_buttons.yaml entity_id: automation.toggle_office_light_onoff
- service: light.toggle - service: light.toggle
entity_id: light.office_lamp entity_id: light.office_lamp
- delay: - delay:

View File

@@ -1,5 +1,5 @@
################################### ###################################
## LOG IFTTT Stuff - Rachio ## LOG Medicine
################################### ###################################
- alias: 'Log Medicine Activity' - alias: 'Log Medicine Activity'
hide_entity: True hide_entity: True
@@ -11,7 +11,8 @@
- service: input_boolean.turn_on - service: input_boolean.turn_on
entity_id: input_boolean.medicine entity_id: input_boolean.medicine
- service: automation.turn_off
entity_id: automation.log_medicine_activity
- service: logbook.log - service: logbook.log
data: data:
name: "Medicine Push" name: "Medicine Push"
@@ -26,3 +27,7 @@
- service: script.ifttt_notify - service: script.ifttt_notify
data_template: data_template:
value1: 'Took Medicine today.' value1: 'Took Medicine today.'
- delay:
minutes: 1
- service: automation.turn_on