mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-12 01:24:29 +05:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0c43e61c59 |
@@ -78,7 +78,8 @@ class MegaView(HomeAssistantView):
|
|||||||
template.hass = hass
|
template.hass = hass
|
||||||
ret = template.async_render(data)
|
ret = template.async_render(data)
|
||||||
_LOGGER.debug('response %s', ret)
|
_LOGGER.debug('response %s', ret)
|
||||||
ret = Response(body=ret or 'd', content_type='text/plain', headers={'Server': 's', 'Date': 'n'})
|
ret = Response(body='', content_type='text/plain', headers={'Server': 's', 'Date': 'n'})
|
||||||
|
await hub.request(cmd=ret)
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
async def later_update(self, hub):
|
async def later_update(self, hub):
|
||||||
|
|||||||
Reference in New Issue
Block a user