Closes #96 - Who let the dogs out?

This commit is contained in:
CCOSTAN
2017-03-05 02:41:13 +00:00
parent 3fc0789276
commit 7d46498bfb
7 changed files with 30 additions and 9 deletions

15
automation/guard_dog.yaml Executable file
View File

@@ -0,0 +1,15 @@
######################################################################
## Speak Max! Speak Max!!
######################################################################
- alias: Guard Dog
trigger:
- platform: state
entity_id: input_boolean.guard_dog
state: 'on'
from: 'off'
action:
- service: script.dog_bark
- service: input_boolean.turn_off
entity_id: input_boolean.guard_dog