From 94428880b2de9e16491766f0838c8d26095722b2 Mon Sep 17 00:00:00 2001 From: Christopher Hoch Date: Tue, 19 Dec 2023 12:51:12 +0100 Subject: [PATCH] trying to pease the linter --- pyvlx/pyvlx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyvlx/pyvlx.py b/pyvlx/pyvlx.py index 53eaf1f3..ce24b527 100644 --- a/pyvlx/pyvlx.py +++ b/pyvlx/pyvlx.py @@ -86,7 +86,7 @@ async def reboot_gateway(self) -> None: await self.klf200.reboot() def get_connected(self) -> bool: - """Returns whether the gateway is currently connected.""" + """Return whether the gateway is currently connected.""" return self.connection.connected async def check_connected(self) -> None: @@ -123,7 +123,7 @@ async def get_limitation(self, node_id: int) -> None: await limit.do_api_call() async def on_connection_closed_cb(self) -> None: - """Callback when connection to KLF 200 is closed.""" + """Handle KLF 200 closed connection callback.""" PYVLXLOG.debug("Connecting to KLF 200 was closed") for node in self.nodes: await self.loop.create_task(node.after_update())