Check for things Playing and break through alerts.

This commit is contained in:
CCOSTAN
2017-02-25 03:13:18 +00:00
parent ae794b0167
commit 7fcde2a6a8
2 changed files with 22 additions and 10 deletions

View File

@@ -19,6 +19,13 @@
- condition: state
entity_id: group.family
state: 'home'
- condition: template
value_template: >
{% if is_state('media_player.livingroomCC', 'playing') %}
false
{% else %}
true
{% endif %}
action:
- service: media_player.turn_on