From 15825b944405bf91f30c0cb1bcc4ff949605bafe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ab=C3=ADlio=20Costa?= Date: Sun, 12 May 2024 01:14:52 +0100 Subject: [PATCH] Fix docstring in Idasen Desk (#117280) --- homeassistant/components/idasen_desk/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/idasen_desk/__init__.py b/homeassistant/components/idasen_desk/__init__.py index ee0a9e9024e..77af68da12e 100644 --- a/homeassistant/components/idasen_desk/__init__.py +++ b/homeassistant/components/idasen_desk/__init__.py @@ -73,7 +73,11 @@ class IdasenDeskCoordinator(DataUpdateCoordinator[int | None]): # pylint: disab await self.desk.disconnect() async def async_ensure_connection_state(self) -> None: - """Check if the expected connection state matches the current state and correct it if needed.""" + """Check if the expected connection state matches the current state. + + If the expected and current state don't match, calls connect/disconnect + as needed. + """ if self._expected_connected: if not self.desk.is_connected: _LOGGER.debug("Desk disconnected. Reconnecting")