From 2a31cdb1af657283ee0ca4e40a982f0949db096e Mon Sep 17 00:00:00 2001 From: atse Date: Tue, 1 Aug 2023 13:33:48 +0800 Subject: [PATCH] Add ipv4 config --- pytec/pytec/aioclient.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pytec/pytec/aioclient.py b/pytec/pytec/aioclient.py index b17dea7..ab4fb6a 100644 --- a/pytec/pytec/aioclient.py +++ b/pytec/pytec/aioclient.py @@ -253,3 +253,7 @@ class Client: await self._writer.drain() await self.disconnect() + + async def ipv4(self): + """Get the IPv4 settings of the Thermostat""" + return await self._command('ipv4')