Fire TV not connecting

I have connected to the firetv using the ADB and it is showing as a connected device:

    List of devices attached       device

I have changed the permissions to gibe home-assistant access

however, there is an error while setting up the platform:

      File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/", line 128, in _async_setup_platform
        SLOW_SETUP_MAX_WAIT, loop=hass.loop)
      File "/usr/lib/python3.5/asyncio/", line 400, in wait_for
        return fut.result()
      File "/usr/lib/python3.5/asyncio/", line 293, in result
        raise self._exception
      File "/usr/lib/python3.5/concurrent/futures/", line 55, in run
        result = self.fn(*self.args, **self.kwargs)
      File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/", line 68, in setup_platform
        ftv = FireTV(host, config[CONF_ADBKEY])
      File "/srv/homeassistant/lib/python3.5/site-packages/firetv/", line 106, in __init__
      File "/srv/homeassistant/lib/python3.5/site-packages/firetv/", line 116, in connect
        kwargs['rsa_keys'] = [Signer(self.adbkey)]
      File "/srv/homeassistant/lib/python3.5/site-packages/adb/", line 67, in FromRSAKeyPath
        return cls(pub, priv)
      File "/srv/homeassistant/lib/python3.5/site-packages/adb/", line 70, in __init__
        self.priv_key = _load_rsa_private_key(priv)
      File "/srv/homeassistant/lib/python3.5/site-packages/adb/", line 47, in _load_rsa_private_key
        der = rsa.pem.load_pem(pem, 'PRIVATE KEY')
      File "/srv/homeassistant/lib/python3.5/site-packages/rsa/", line 53, in load_pem
        contents = contents.encode('ascii')
    UnicodeEncodeError: 'ascii' codec can't encode character '\ufeff' in position 0: ordinal not in range(128)

Has anyone got a fix for this please?