Skip to content
Snippets Groups Projects
Unverified Commit e9e28928 authored by J. Nick Koston's avatar J. Nick Koston Committed by GitHub
Browse files

Set hassio api json encoding to avoid looking it up every request (#109032)

parent 5183eed0
No related branches found
No related tags found
No related merge requests found
......@@ -591,7 +591,7 @@ class HassIO:
if return_text:
return await request.text(encoding="utf-8")
return await request.json()
return await request.json(encoding="utf-8")
except asyncio.TimeoutError:
_LOGGER.error("Timeout on %s request", command)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment