Traceback (most recent call last):


 "/home/synapse/bridges/mautrix-telegram/env/lib/python3.8/site-packages/mautrix/bridge/commands/handler.py", line 405, in handle

await self._run_handler(handler, evt)


 "/home/synapse/bridges/mautrix-telegram/mautrix_telegram/commands/handler.py", line 121, in _run_handler

return await handler(evt)


 "/home/synapse/bridges/mautrix-telegram/env/lib/python3.8/site-packages/mautrix/bridge/commands/handler.py", line 290, in __call__

return await self._handler(evt)


 "/home/synapse/bridges/mautrix-telegram/mautrix_telegram/commands/telegram/misc.py", line 154, in join

updates, _ = await _join(evt, arg.group(1))


 "/home/synapse/bridges/mautrix-telegram/mautrix_telegram/commands/telegram/misc.py", line 136, in _join

channel = await evt.sender.client.get_entity(arg)


 "/home/synapse/bridges/mautrix-telegram/env/lib/python3.8/site-packages/telethon/client/users.py", line 328, in get_entity

result.append(await self._get_entity_from_string(x))


 "/home/synapse/bridges/mautrix-telegram/env/lib/python3.8/site-packages/telethon/client/users.py", line 567, in _get_entity_from_string

raise ValueError(
ValueError: Cannot find any entity corresponding to "s/someroom"

Traceback (most recent call last):


 "/Users/abach/.local/share/virtualenvs/home-assistant-E4Cz_ciq/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 390, in start

resp = await self._request_handler(request)


 "/Users/abach/.local/share/virtualenvs/home-assistant-E4Cz_ciq/lib/python3.7/site-packages/aiohttp/web_app.py", line 366, in _handle

resp = await handler(request)


 "/Users/abach/.local/share/virtualenvs/home-assistant-E4Cz_ciq/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 106, in impl

return await handler(request)


 "/Users/abach/Git/home-assistant/homeassistant/components/http/static.py", line 66, in staticresource_middleware

return await handler(request)


 "/Users/abach/Git/home-assistant/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware

return await handler(request)


 "/Users/abach/Git/home-assistant/homeassistant/components/http/ban.py", line 66, in ban_middleware

return await handler(request)


 "/Users/abach/Git/home-assistant/homeassistant/components/http/auth.py", line 68, in auth_middleware

return await handler(request)


 "/Users/abach/Git/home-assistant/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware

return await handler(request)


 "/Users/abach/Git/home-assistant/homeassistant/components/http/ban.py", line 66, in ban_middleware

return await handler(request)


 "/Users/abach/Git/home-assistant/homeassistant/components/http/auth.py", line 68, in auth_middleware

return await handler(request)


 "/Users/abach/Git/home-assistant/homeassistant/components/http/view.py", line 113, in handle

result = await result


 "/Users/abach/Git/home-assistant/homeassistant/components/config/config_entries.py", line 69, in delete

result = await hass.config_entries.async_remove(entry_id)


 "/Users/abach/Git/home-assistant/homeassistant/config_entries.py", line 392, in async_remove

entity_registry.async_clear_config_entry(entry_id)


 "/Users/abach/Git/home-assistant/homeassistant/helpers/entity_registry.py", line 254, in async_clear_config_entry

self._async_update_entity(entity_id, config_entry_id=None)


 "/Users/abach/Git/home-assistant/homeassistant/helpers/entity_registry.py", line 196, in _async_update_entity

new.update_listeners.remove(ref)
ValueError: list.remove(x): x not in list
