I have connected to the firetv using the ADB and it is showing as a connected device:
List of devices attached
192.168.1.25:5555 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/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
return fut.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/firetv.py", line 68, in setup_platform
ftv = FireTV(host, config[CONF_ADBKEY])
File "/srv/homeassistant/lib/python3.5/site-packages/firetv/__init__.py", line 106, in __init__
self.connect()
File "/srv/homeassistant/lib/python3.5/site-packages/firetv/__init__.py", line 116, in connect
kwargs['rsa_keys'] = [Signer(self.adbkey)]
File "/srv/homeassistant/lib/python3.5/site-packages/adb/sign_pythonrsa.py", line 67, in FromRSAKeyPath
return cls(pub, priv)
File "/srv/homeassistant/lib/python3.5/site-packages/adb/sign_pythonrsa.py", line 70, in __init__
self.priv_key = _load_rsa_private_key(priv)
File "/srv/homeassistant/lib/python3.5/site-packages/adb/sign_pythonrsa.py", line 47, in _load_rsa_private_key
der = rsa.pem.load_pem(pem, 'PRIVATE KEY')
File "/srv/homeassistant/lib/python3.5/site-packages/rsa/pem.py", 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?