mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-17 02:54:41 +00:00
Closes #96 - Who let the dogs out?
This commit is contained in:
@@ -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:
|
@@ -41,3 +41,4 @@ front_house_motion:
|
||||
brightness: 15
|
||||
- delay: '00:00:10'
|
||||
- service: script.monthly_color_scene
|
||||
|
||||
|
Reference in New Issue
Block a user