From 1042592a3176a72fa3faf167ef1fcc8ca8427018 Mon Sep 17 00:00:00 2001 From: Andrey Date: Sun, 28 Feb 2021 21:33:26 +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 005c41f..5aa8636 100644 --- a/custom_components/mega/http.py +++ b/custom_components/mega/http.py @@ -121,6 +121,7 @@ class MegaView(HomeAssistantView): for cb in self.callbacks[hub.id][pt]: cb(_data) act = hub.ext_act.get(pt) + hub.lg.debug(f'act on port {pt}: {act}, all acts are: {hub.ext_act}') template: Template = self.templates.get(hub.id, {}).get(port, hub.def_response) if template is not None: template.hass = hass