Yesterday I installed the latest update to HA running on a RPI 4. After the update I could no longer see my DSM surveillance cameras in HA. I found the error below in the logs. I tried deleting the device and re-installing it with the same results. It sure seems this is related to the update so before I spin my wheels any more I thought I would see if anyone has seen similar and maybe can offer some help
Thanks for your help!
Jon
Logger: homeassistant.config_entries
Source: components/synology_dsm/common.py:94
First occurred: February 3, 2023 at 2:56:12 PM (3 occurrences)
Last logged: 2:25:03 PM
Error setting up entry Diskstation2 for synology_dsm
Error setting up entry FQDN for synology_dsm
Error setting up entry 10.0.0.XX for synology_dsm
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/synology_dsm/__init__.py", line 68, in async_setup_entry
await api.async_setup()
File "/usr/src/homeassistant/homeassistant/components/synology_dsm/common.py", line 94, in async_setup
await self.dsm.surveillance_station.update()
File "/usr/local/lib/python3.10/site-packages/synology_dsm/api/surveillance_station/__init__.py", line 25, in update
raw_data = await self._dsm.get(self.CAMERA_API_KEY, "List", max_version=7)
File "/usr/local/lib/python3.10/site-packages/synology_dsm/synology_dsm.py", line 207, in get
return await self._request("GET", api, method, params, **kwargs)
File "/usr/local/lib/python3.10/site-packages/synology_dsm/synology_dsm.py", line 282, in _request
response = await self._execute_request(request_method, url, params, **kwargs)
File "/usr/local/lib/python3.10/site-packages/synology_dsm/synology_dsm.py", line 308, in _execute_request
response = await self._session.get(url, params=params, **kwargs)
File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 919, in get
self._request(hdrs.METH_GET, url, allow_redirects=allow_redirects, **kwargs)
TypeError: ClientSession._request() got an unexpected keyword argument 'max_version'