From 9a53de1d5d02a15c31dbb0d617a7e0bbc98fea6c Mon Sep 17 00:00:00 2001 From: Andrey Date: Sun, 28 Feb 2021 22:02:22 +0300 Subject: [PATCH] fix errors --- custom_components/mega/http.py | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/mega/http.py b/custom_components/mega/http.py index f865539..9c527af 100644 --- a/custom_components/mega/http.py +++ b/custom_components/mega/http.py @@ -126,6 +126,7 @@ class MegaView(HomeAssistantView): if template is not None: template.hass = hass ret = template.async_render(_data) + hub.lg.debug(f'response={ret}, template={template}') if ret == 'd' and act: await hub.request(cmd=act) ret = 'd' if hub.force_d else ''