Traceback (most recent call last):


 "/srv/homeassistant/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start

resp = await task


 "/srv/homeassistant/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle

resp = await handler(request)


 "/srv/homeassistant/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl

return await handler(request)


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/real_ip.py", line 33, in real_ip_middleware

return await handler(request)


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/view.py", line 112, in handle

result = handler(request, **request.match_info)


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/emulated_hue/hue_api.py", line 172, in get

entity = hass.states.get(entity_id)


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/core.py", line 838, in get

return self._states.get(entity_id.lower())
AttributeError: 'NoneType' object has no attribute 'lower'

Traceback (most recent call last):


 "ice\decorators.py", line 9, in wrapped


 "ice\runners\ice_engine.py", line 131, in run


 "ice\runners\ice_engine.py", line 104, in create_backup


 "ice\backups.py", line 67, in create_backup_of_shortcuts


 "pysteam\shortcuts.py", line 30, in write_shortcuts


 "pysteam\_shortcut_generator.py", line 20, in to_string


 "pysteam\_shortcut_generator.py", line 29, in generate_array_string


 "pysteam\_shortcut_generator.py", line 34, in generate_shortcut_string
AttributeError: 'NoneType' object has no attribute 'name'