1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-26 14:08:21 +00:00

Add support for Flo by Moen water shutoff devices (#38171)

This commit is contained in:
David F. Mulcahey
2020-08-10 08:19:38 -04:00
committed by GitHub
parent 07de9deab6
commit f1fd8aa51f
27 changed files with 1650 additions and 1 deletions

View File

@@ -249,7 +249,7 @@ class AiohttpClientMockResponse:
"""Return mock response as a string."""
return self.response.decode(encoding)
async def json(self, encoding="utf-8"):
async def json(self, encoding="utf-8", content_type=None):
"""Return mock response as a json."""
return _json.loads(self.response.decode(encoding))