I’m trying to use the hue emulation with alexa. Alexa discovers devices appropriately, but when I try and use it, I get an error.
This error occurs when trying to set the value of an input_number. Ignore the names. I realize it doesn’t make any sense.
Thanks in advance.
input_number:
tr_watch_tv:
name: 'Watch TV'
min: 0
max: 100
step: 1
2017-12-01 16:00:11 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py”, line 416, in start
resp = yield from self._request_handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web.py”, line 323, in _handle
resp = yield from handler(request)
File “/usr/lib/python3.5/asyncio/coroutines.py”, line 213, in coro
res = yield from res
File “/usr/lib/python3.5/asyncio/coroutines.py”, line 213, in coro
res = yield from res
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/init.py”, line 427, in handle
result = handler(request, **request.match_info)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/emulated_hue/hue_api.py”, line 101, in get
entity = hass.states.get(entity_id)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py”, line 668, in get
return self._states.get(entity_id.lower())
AttributeError: ‘NoneType’ object has no attribute 'lower’