Emulated Hue error

Getting a lot errors with the emulated hue components.

2018-08-08 20:28:39 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/aiohttp/web_protocol.py”, line 378, in start
resp = await self._request_handler(request)
File “/usr/local/lib/python3.6/site-packages/aiohttp/web_app.py”, line 341, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/http/view.py”, line 110, in handle
result = handler(request, **request.match_info)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/emulated_hue/hue_api.py”, line 121, in get
entity = hass.states.get(entity_id)
File “/usr/local/lib/python3.6/site-packages/homeassistant/core.py”, line 760, in get
return self._states.get(entity_id.lower())
AttributeError: ‘NoneType’ object has no attribute ‘lower’