Emulated Hue dose not expose devices in Hass.io

I’m trying to add Emulated Hue to my setup, but i cant get it to work. I use Alexa

I can see the site http://YOUR_IP:8300/description.xml but i can’t see the http://YOUR_IP:8300/api/username/lights.

  1. What user name am i suppose to use on Hass.io

  2. what can i do from here to debug this ?

I just have the standard setup in the config
emulated_hue:

But i have tried different combinations of configurations.

This works perfectly for me in hass.io

emulated_hue:
  type: google_home
  expose_by_default: false
  listen_port: 8300

google_home forces the new version as the Alexa type is deprecated, but this defaults to port 80 so I added 8300 for Alexa.

The expose by default is there because I only wanted specific functions visible which I set in customize.yaml.

Username is ‘root’ to list devices, so http://YOUR_IP:8300/api/root/lights

there is a known bug when leaving type: alexa out of the config.

Thanks for the reply @Bobby_Nobble
I have found the following:
if i do not expose any devices the server runs fine.
If I try to expose a light I get the following error in the log files

2017-08-03 19:12:44 INFO (MainThread) [homeassistant.components.http] Serving /api/root/lights to 192.168.1.61 (auth: True)
2017-08-03 19:12:44 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/aiohttp/web_protocol.py”, line 422, in start
resp = yield from self._request_handler(request)
File “/usr/lib/python3.6/site-packages/aiohttp/web.py”, line 306, in _handle
resp = yield from handler(request)
File “/usr/lib/python3.6/asyncio/coroutines.py”, line 213, in coro
res = yield from res
File “/usr/lib/python3.6/asyncio/coroutines.py”, line 213, in coro
res = yield from res
File “/usr/lib/python3.6/site-packages/homeassistant/components/http/init.py”, line 421, in handle
result = handler(request, **request.match_info)
File “/usr/lib/python3.6/site-packages/homeassistant/components/emulated_hue/hue_api.py”, line 78, in get
number = self.config.entity_id_to_number(entity.entity_id)
File “/usr/lib/python3.6/site-packages/homeassistant/components/emulated_hue/init.py”, line 196, in entity_id_to_number
number = str(max(int(k) for k in self.numbers) + 1)
ValueError: max() arg is an empty sequence

Any idear what this means ?

Never mind.
it was exactly what @rabittn posted THANKS