Traceback (most recent call last):


 "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 308, in _async_add_entity

msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: sensor.kitchen_motion_sensor_general. Platform zwave does not generate unique IDs

Traceback (most recent call last):


 "/Users/asherchew/Desktop/Projects/hello_flask/env/lib/python3.8/site-packages/flask/app.py", line 2464, in __call__

return self.wsgi_app(environ, start_response)


 "/Users/asherchew/Desktop/Projects/hello_flask/env/lib/python3.8/site-packages/flask/app.py", line 2450, in wsgi_app

response = self.handle_exception(e)


 "/Users/asherchew/Desktop/Projects/hello_flask/env/lib/python3.8/site-packages/flask/app.py", line 1867, in handle_exception

reraise(exc_type, exc_value, tb)


 "/Users/asherchew/Desktop/Projects/hello_flask/env/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise

raise value


 "/Users/asherchew/Desktop/Projects/hello_flask/env/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app

response = self.full_dispatch_request()


 "/Users/asherchew/Desktop/Projects/hello_flask/env/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/Users/asherchew/Desktop/Projects/hello_flask/env/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/Users/asherchew/Desktop/Projects/hello_flask/env/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise

raise value


 "/Users/asherchew/Desktop/Projects/hello_flask/env/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request

rv = self.dispatch_request()


 "/Users/asherchew/Desktop/Projects/hello_flask/env/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/Users/asherchew/Desktop/Projects/hello_flask/playground/test_8.py", line 15, in test_finviz

stock_list = Screener(filters=filters, table='Valuation', order='price')
# Get the performance table and sort it by price ascending


 "/Users/asherchew/Desktop/Projects/hello_flask/env/lib/python3.8/site-packages/finviz/screener.py", line 120, in __init__

self.data = self.__search_screener()


 "/Users/asherchew/Desktop/Projects/hello_flask/env/lib/python3.8/site-packages/finviz/screener.py", line 325, in __search_screener

pages_data = async_connector.run_connector()


 "/Users/asherchew/Desktop/Projects/hello_flask/env/lib/python3.8/site-packages/finviz/helper_functions/request_functions.py", line 78, in run_connector

loop = asyncio.get_event_loop()


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/events.py", line 639, in get_event_loop

raise RuntimeError('There is no current event loop in thread %r.'
RuntimeError: There is no current event loop in thread 'Thread-3'.