Synology integrations fails

Hi
After upgrading to the lates core 2023.2 my Synology integration stopped working.

Errors see below.
I already deleted the integration reboot HA and reinstalled, always the same problem.
Didn’t change anything on Synology side
Any idea?


Logger: homeassistant.config_entries
Source: components/synology_dsm/common.py:94 
First occurred: 13:36:28 (1 occurrences) 
Last logged: 13:36:28

Error setting up entry Ds216Garbsen 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'

I have the same error message after the upgrade - I don’t think this happened in beta.

I rolled back and restored the backup from prior to latest Release. Now my Synology integration does work again, so yes, it must be related to Core 2023.2 or 2023.2.1 as I skip 2.0 and upgraded to 2.1 immediately
So I ‚ll just wait for next release