Add an AND Logic card before the grouping card:
- Select Logic → Text contains.
- Use the Track tag from the Living Room speaker as the text value.
- Enter
TVas the value it should contain. - Connect the No output of this card to the grouping action. This prevents grouping while the TV input is active.