Closes #96 - Who let the dogs out?

pull/76/merge
CCOSTAN 9 years ago
parent 3fc0789276
commit 7d46498bfb

@ -1 +1 @@
0.39.2
0.39.3

@ -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

@ -22,7 +22,7 @@ frontend:
group: !include_dir_merge_named group
device_tracker: !include_dir_merge_list device_tracker
# discovery: - Disabled due to LOTS of bugs.
discovery:
updater:
sun:

@ -11,10 +11,15 @@ input_boolean.alert_mode:
input_boolean.flash:
friendly_name: 'Flash'
emulated_hue: False
emulated_hue: True
hidden: False
icon: mdi:yin-yang
input_boolean.guard_dog:
friendly_name: 'Guard Dog'
emulated_hue: True
hidden: False
icon: mdi:paw
input_boolean.good_morning:
friendly_name: 'Good Morning'

@ -22,3 +22,7 @@ work:
flash:
name: Flash
initial: off
guard_dog:
name: Guard Dog
initial: off

@ -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

Loading…
Cancel
Save

Powered by TurnKey Linux.