Fix cleanup of dynamic group (#23475)

This commit is contained in:
Erik Montnemery authored and Paulus Schoutsen committed 2019-04-28 12:09:06 -07:00
1 parent b60c7ce479
commit 2f45a7e3b9
1 file changed
+1 -1
@@ -659,7 +659,7 @@ class CastDevice(MediaPlayerDevice):
self.entity_id, self._cast_info.friendly_name,
self._cast_info.host, self._cast_info.port, cast_info)
self.async_del_dynamic_group()
await self.async_del_dynamic_group()
self._dynamic_group_cast_info = cast_info
# pylint: disable=protected-access