Showing results for 
Search instead for 
Did you mean: 

Home Assistant integration not working

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/", line 281, in _async_setup_platform
    await asyncio.shield(task)
  File "/usr/src/homeassistant/homeassistant/components/fido/", line 195, in async_setup_platform
    ret = await fido_data.async_update()
  File "/usr/src/homeassistant/homeassistant/components/fido/", line 254, in async_update
    await self.client.fetch_data()
  File "/usr/local/lib/python3.10/site-packages/pyfido/", 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/", line 155, in _list_phone_numbers
    json_content = yield from raw_res.json()
  File "/usr/src/homeassistant/homeassistant/helpers/", line 52, in json
    return await super().json(*args, loads=loads, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/", 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('')


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? 

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

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


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.