From 52550cf72175f5f8c4e7f233524557b96df8bd1a Mon Sep 17 00:00:00 2001 From: atse Date: Thu, 29 Aug 2024 13:23:50 +0800 Subject: [PATCH] aioclient: More accurate DFU docstring --- pytec/pytec/aioclient.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pytec/pytec/aioclient.py b/pytec/pytec/aioclient.py index 02c2a73..4d9deb3 100644 --- a/pytec/pytec/aioclient.py +++ b/pytec/pytec/aioclient.py @@ -243,11 +243,11 @@ class AsyncioClient: await self.disconnect() async def dfu(self): - """Put the Thermostat in DFU update mode + """Put the Thermostat in DFU mode The client is disconnected as the Thermostat stops responding to - TCP commands in DFU update mode. The only way to exit it is by - power-cycling. + TCP commands in DFU mode. To exit it, submit a DFU leave request + or power-cycle the Thermostat. """ async with self._command_lock: self._writer.write("dfu\n".encode("utf-8"))