mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-10 16:44:28 +05:00
fix errors
This commit is contained in:
@@ -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