mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-07 01:52:11 +00:00
Closes #96 - Who let the dogs out?
This commit is contained in:
15
automation/guard_dog.yaml
Executable file
15
automation/guard_dog.yaml
Executable 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
|
||||
Reference in New Issue
Block a user