Skip to content

Commit 8e3b158

Browse files
committed
Fixed logging
* custom_components/daikin_onecta/daikin_api.py:
1 parent 6782f71 commit 8e3b158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/daikin_onecta/daikin_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ async def doBearerRequest(self, method, resourceUrl, options=None):
142142
self._last_patch_call = datetime.now()
143143
return True
144144

145-
raise Exception("Communication failed! Status: " + str(res.status_code) + " " + res.txt)
145+
raise Exception("Communication failed! Status: " + str(res.status_code) + " " + res.text)
146146

147147
async def getCloudDeviceDetails(self):
148148
"""Get pure Device Data from the Daikin cloud devices."""

0 commit comments

Comments
 (0)