Skip to content

Commit

Permalink
Stop media when enabling WW
Browse files Browse the repository at this point in the history
  • Loading branch information
tetele committed Apr 15, 2024
1 parent 2611612 commit b7fb757
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion esphome/onju-voice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,8 @@ script:
- lambda: id(va).set_use_wake_word(true);
- if:
condition:
media_player.is_playing:
not:
media_player.is_idle:
then:
- media_player.stop:
- if:
Expand Down

0 comments on commit b7fb757

Please sign in to comment.