mirror of
https://github.com/andvikt/mega_hacs.git
synced 2026-11-02 19:18:44 +05:00
fix errors
This commit is contained in:
1 parent
137eb8b6ba
commit
1042592a31
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user