diff --git a/devolo_plc_api/device.py b/devolo_plc_api/device.py index 6deae6e..49b7098 100644 --- a/devolo_plc_api/device.py +++ b/devolo_plc_api/device.py @@ -134,7 +134,7 @@ async def async_disconnect(self) -> None: def disconnect(self) -> None: """ Disconnect from a device asynchronous. """ - self._loop.run_until_complete(self.async_disconnect()) + asyncio.gather(self.async_disconnect()) self._loop.close() async def _get_device_info(self) -> None: diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index fd2982b..fc63c90 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +### [v0.6.3] - 2021/11/18 + +### Fixed + +- Disconncting from a device synchroniously works again + ### [v0.6.2] - 2021/10/28 ### Fixed