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:
@@ -127,6 +127,7 @@ class MegaView(HomeAssistantView):
|
||||
template.hass = hass
|
||||
ret = template.async_render(_data)
|
||||
hub.lg.debug(f'response={ret}, template={template}')
|
||||
ret = ret.replace(':3', f':{v}')
|
||||
if ret == 'd' and act:
|
||||
await hub.request(cmd=act)
|
||||
ret = 'd' if hub.force_d else ''
|
||||
|
||||
Reference in New Issue
Block a user