Closed Sebastian-MrBeam closed 3 months ago
response = await self.request("getDeviceInfo") print(response)_ return ( ReturnDeviceInfo( deviceId=response["data"]["deviceId"], devVer=response["data"]["devVer"], ssid=response["data"]["ssid"], ipAddr=response["data"]["ipAddr"], minPower=int(response["data"]["minPower"]), maxPower=int(response["data"]["maxPower"]), ) if response and response.get("data") else None )
came in with Version 1.1.0
Every function call prints an Output - all other functions does not, so looks like a debug leftover.
3.12
Windows 11
Indeed. Shouldn't be there, thank you for noticing that!
I've removed that in the version 3 release.
What happened?
response = await self.request("getDeviceInfo") print(response)_ return ( ReturnDeviceInfo( deviceId=response["data"]["deviceId"], devVer=response["data"]["devVer"], ssid=response["data"]["ssid"], ipAddr=response["data"]["ipAddr"], minPower=int(response["data"]["minPower"]), maxPower=int(response["data"]["maxPower"]), ) if response and response.get("data") else None )
came in with Version 1.1.0
The python error
Your python version
3.12
Your OS inlcuding your version
Windows 11