We are trying to add support for the Plugwise Stretch to the Plugwise-beta custom_component. To be added to the HA Core Plugwise component at a later time.
When trying to add the Integration, the owner of the Stretch that is testing our code runs into the error below.
Is there anyone that can shed some light on what is going wrong?
HA Core version: 0.114.3
Install: Hassio
2020-08-21 23:20:18 ERROR (MainThread) [custom_components.plugwise.config_flow] Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/plugwise/config_flow.py", line 130, in async_step_user
api = await validate_input(self.hass, user_input)
File "/config/custom_components/plugwise/config_flow.py", line 74, in validate_input
await api.connect()
File "/usr/local/lib/python3.8/site-packages/Plugwise_Smile/Smile.py", line 161, in connect
result = await resp.text()
File "/usr/local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 1009, in text
await self.read()
File "/usr/local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 973, in read
self._body = await self.content.read()
File "/usr/local/lib/python3.8/site-packages/aiohttp/streams.py", line 358, in read
block = await self.readany()
File "/usr/local/lib/python3.8/site-packages/aiohttp/streams.py", line 380, in readany
await self._wait('readany')
File "/usr/local/lib/python3.8/site-packages/aiohttp/streams.py", line 296, in _wait
await waiter
aiohttp.client_exceptions.ClientPayloadError: 400, message='Can not decode content-encoding: deflate'