cancel
Showing results for 
Search instead for 
Did you mean: 

Home Assistant integration not working

manjotsc
I'm a participant level 2
I'm a participant level 2
Error while setting up fido platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
    await asyncio.shield(task)
  File "/usr/src/homeassistant/homeassistant/components/fido/sensor.py", line 195, in async_setup_platform
    ret = await fido_data.async_update()
  File "/usr/src/homeassistant/homeassistant/components/fido/sensor.py", line 254, in async_update
    await self.client.fetch_data()
  File "/usr/local/lib/python3.10/site-packages/pyfido/client.py", line 301, in fetch_data
    self._phone_numbers = yield from self._list_phone_numbers(account_number)
  File "/usr/local/lib/python3.10/site-packages/pyfido/client.py", line 155, in _list_phone_numbers
    json_content = yield from raw_res.json()
  File "/usr/src/homeassistant/homeassistant/helpers/aiohttp_client.py", line 52, in json
    return await super().json(*args, loads=loads, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 1104, in json
    raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/plain; charset=utf-8', url=URL('https://www.fido.ca/pages/api/selfserve/v2/accountOverview')
3 REPLIES 3

FidoStephane
Moderator
Moderator

Hi there @manjotsc

 

Can you give us some context as to when and how you encountered this? 

 

Do you believe this is somehow related to your home internet service with Fido? 



manjotsc
I'm a participant level 2
I'm a participant level 2

This integration is for mobile lines for usage tracking see link below

https://www.home-assistant.io/integrations/fido/

 

Hello @manjotsc,

 

You would probably get better help from the Home Assist community. As Fido does not do anything with Home Assistant they would not be able to provide you with any support.