From 85ce679c64d3c96e8c2fdbc8b9e3bfd0beb73b83 Mon Sep 17 00:00:00 2001 From: jjlawren Date: Mon, 7 Jun 2021 04:46:56 -0500 Subject: [PATCH] Fix Sonos restore calls (#51565) --- homeassistant/components/sonos/speaker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/sonos/speaker.py b/homeassistant/components/sonos/speaker.py index 3932b6d3364..26a75f94065 100644 --- a/homeassistant/components/sonos/speaker.py +++ b/homeassistant/components/sonos/speaker.py @@ -765,7 +765,7 @@ class SonosSpeaker: """Pause all current coordinators and restore groups.""" for speaker in (s for s in speakers if s.is_coordinator): if speaker.media.playback_status == SONOS_STATE_PLAYING: - hass.async_create_task(speaker.soco.pause()) + speaker.soco.pause() groups = []