mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-12-20 03:30:12 +00:00
Debug log httpclient response
This commit is contained in:
@@ -114,6 +114,7 @@ class HttpClient:
|
|||||||
)
|
)
|
||||||
async with resp:
|
async with resp:
|
||||||
response_data = await resp.read()
|
response_data = await resp.read()
|
||||||
|
_LOGGER.debug("Device responded with %s", response_data)
|
||||||
|
|
||||||
if resp.status == 200:
|
if resp.status == 200:
|
||||||
if return_json:
|
if return_json:
|
||||||
|
|||||||
Reference in New Issue
Block a user