mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-17 19:06:53 +00:00
Fixed double entries from double sends on the Dash Buttons.
This commit is contained in:
@@ -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:
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user