From 623cb094d4d4ba05c59184ac37d8dbb7123d8bce Mon Sep 17 00:00:00 2001 From: osk2 Date: Sat, 7 Aug 2021 17:03:23 +0800 Subject: [PATCH] Fix log content --- custom_components/panasonic_smart_app/smartApp/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/panasonic_smart_app/smartApp/__init__.py b/custom_components/panasonic_smart_app/smartApp/__init__.py index 5de42be..4f15159 100644 --- a/custom_components/panasonic_smart_app/smartApp/__init__.py +++ b/custom_components/panasonic_smart_app/smartApp/__init__.py @@ -193,7 +193,7 @@ async def request( _LOGGER.error( "Failed to access API. Returned" " %d: %s", response.status, - returned_raw_data, + await response.text(), ) raise PanasonicLoginFailed elif response.status == HTTP_TOO_MANY_REQUESTS: