It seems to fail and im unsure why.
here is the logs:
i Thu Jan 10 2019 09:00:27 GMT-0500 (GMT-05:00)
Error while setting up platform hydroquebec
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
return fut.result()
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/hydroquebec.py", line 108, in async_setup_platform
contracts = await hydroquebec_data.get_contract_list()
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/hydroquebec.py", line 177, in get_contract_list
ret = await self._fetch_data()
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/hydroquebec.py", line 187, in _fetch_data
await self.client.fetch_data()
File "/usr/local/lib/python3.6/site-packages/pyhydroquebec/client.py", line 372, in fetch_data
hourly_data = yield from self._get_hourly_data(day_date, p_p_id)
File "/usr/local/lib/python3.6/site-packages/pyhydroquebec/client.py", line 309, in _get_hourly_data
json_output = yield from raw_res.json(content_type='text/json')
File "/usr/local/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 938, in json
headers=self.headers)
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8'
any ideas?