My [matrix] notify integration is not working anymore since upgrade from 0.103.x to 0.104.x
Before the upgrade, It work just fine, haven鈥檛 changed anything in my config file. But since the upgrade matrix is not working anymore.
NUC Debian GNU/Linux 10 (buster)
hass.io 201
homeassistant 0.104.3 and now 0.104.5
synapse v 1.10.0
configuration.yamlmatrix:
homeserver: "https://mydomain.com"
username: !secret matrix_username
password: !secret matrix_password
rooms:
- !secret matrix_room_hass
2020-01-22 14:19:52 ERROR (MainThread) [homeassistant.setup] Error during setup of component matrix
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 174, in _async_setup_component
component.setup, hass, processed_config # type: ignore
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/matrix/__init__.py", line 88, in setup
config[CONF_COMMANDS],
File "/usr/src/homeassistant/homeassistant/components/matrix/__init__.py", line 161, in __init__
self._client = self._login()
File "/usr/src/homeassistant/homeassistant/components/matrix/__init__.py", line 291, in _login
client = self._login_by_token()
File "/usr/src/homeassistant/homeassistant/components/matrix/__init__.py", line 324, in _login_by_token
valid_cert_check=self._verify_tls,
File "/usr/local/lib/python3.7/site-packages/matrix_client/client.py", line 152, in __init__
self._sync()
File "/usr/local/lib/python3.7/site-packages/matrix_client/client.py", line 581, in _sync
room._process_state_event(event)
File "/usr/local/lib/python3.7/site-packages/matrix_client/room.py", line 640, in _process_state_event
self.guest_access = econtent["guest_access"] == "can_join"
KeyError: 'guest_access'
After a lot of trail and error figured out that sins upgrade #30027 for me, this integration only works wit the matrix.org server and not my home server (synapse v 1.10.0).
I loaded the old config files form before the upgrade in the /custom_components/ folder and [matrix] integration works again for me. Files I loaded: Github [#29392]
Hey there @tinloaf, mind taking a look at this issue as its been labeled with a integration (matrix) you are listed as a codeowner for? Thanks!
Same here.
Yesterday I went from manageged home assistant in debian to hass os. This problem is still there, and can still fix it the same way.
Is it maybe an option to revertthe home assistant repo back to older files that did work?
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 馃憤
This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
I can confirm that the issue persists in 0.114.4
Most helpful comment
Same here.