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

View File

@@ -9,6 +9,8 @@
dog_bark:
sequence:
- wait_template: "{{ states.media_player.livingroomCC.states != 'playing' }}"
timeout: 00:00:30
- condition: template
value_template: >
{% if is_state('media_player.livingroomCC', 'playing') %}
@@ -16,9 +18,6 @@ dog_bark:
{% else %}
true
{% endif %}
- condition: state
entity_id: input_boolean.alert_mode
state: 'on'
- condition: state
entity_id: input_boolean.speech_notifications
state: 'on'
@@ -42,9 +41,6 @@ dog_bark:
0.40
{% endif %}
- service: media_player.turn_on
entity_id: media_player.livingroomCC
- service: media_player.play_media
data_template:
entity_id:

View File

@@ -41,3 +41,4 @@ front_house_motion:
brightness: 15
- delay: '00:00:10'
- service: script.monthly_color_scene