Skip to content

Instantly share code, notes, and snippets.

@IIIEII
IIIEII / pause_media_player_on_call.yaml
Last active December 8, 2022 18:16 — forked from JackPoint/mute_media_player_on_call.yaml
HomeAssistant Blueprint - Pause media player when phone rings or is calling. Only when person is home and the mediaplayer is playing.
blueprint:
name: Pause mediaplayer when calling.
description: >
Pause a mediaplayer when phone rings or is calling.
Only when person is home and the mediaplayer is playing.
domain: automation
input:
phone_state:
name: Phone State sensor
description: All sensors form the mobile app. Select the phone state sensor here.