Traceback (most recent call last):


 "/usr/local/lib/python3.8/site-packages/synapse/http/server.py", line 228, in _async_render_wrapper

callback_return = await self._async_render(request)


 "/usr/local/lib/python3.8/site-packages/synapse/http/server.py", line 405, in _async_render

callback_return = await raw_callback_return


 "/usr/local/lib/python3.8/site-packages/synapse/rest/admin/users.py", line 321, in on_PUT

await self.profile_handler.set_avatar_url(


 "/usr/local/lib/python3.8/site-packages/synapse/handlers/profile.py", line 264, in set_avatar_url

if not self.hs.is_mine(target_user):


 "/usr/local/lib/python3.8/site-packages/synapse/server.py", line 297, in is_mine

return domain_specific_string.domain == self.hostname
AttributeError: 'str' object has no attribute 'domain'

Traceback (most recent call last):


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

yield from entity.async_device_update(warning=False)


 "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 327, in async_device_update

yield from self.hass.async_add_job(self.update)


 "/usr/lib/python3.6/asyncio/futures.py", line 332, in __iter__

yield self
# This tells Task to wait for completion.


 "/usr/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup

future.result()


 "/usr/lib/python3.6/asyncio/futures.py", line 245, in result

raise self._exception


 "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/lib/python3.6/site-packages/homeassistant/components/sensor/tesla.py", line 82, in update

self.current_value = self.tesla_device.get_value()
AttributeError: 'Battery' object has no attribute 'get_value'
