Added condition to watch for vlc audio content to avoid collisions.

This commit is contained in:
Jeffrey Stone 2019-10-13 16:05:21 -04:00
parent c663c01546
commit 3cd1ac7f94
1 changed files with 3 additions and 0 deletions

View File

@ -231,6 +231,9 @@ script:
retain: true retain: true
- condition: template - condition: template
value_template: '{{ states.binary_sensor.quiet_time.state == "off" }}' value_template: '{{ states.binary_sensor.quiet_time.state == "off" }}'
- condition: state
entity_id: binary_sensor.vlc_player
state: 'off'
- condition: state - condition: state
entity_id: sensor.family_status entity_id: sensor.family_status
state: 'Home' state: 'Home'