mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-01-24 13:47:05 +00:00
Debug log httpclient response
This commit is contained in:
parent
db1fdaac03
commit
b7a2062950
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user