Closed jakemauer closed 1 year ago
Hey there @hacf-fr, @quentame, @mib1185, mind taking a look at this issue as it has been labeled with an integration (synology_dsm
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
synology_dsm documentation synology_dsm source (message by IssueLinks)
Same issue. Got the 'setup failed' on the integration button. Tried everything, new account etc. but since 2023.2.1 I have got this problem.
Same here:
`Logger: homeassistant.config_entries Source: components/synology_dsm/common.py:94 First occurred: 3 February 2023 at 20:42:33 (2 occurrences) Last logged: 10:54:56
Error setting up entry 10.1.1.18 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 Logger: homeassistant.config_entries Source: components/synology_dsm/common.py:94 First occurred: February 3, 2023 at 11:01:38 (1 occurrences) Last logged: February 3, 2023 at 11:01:38
Error setting up entry 192.168.1.16 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'
Wait for version 2302.2.2 In 2302.2.2 is a fix for Synology dsm integration
The problem
I just upgraded Home Assistant from 2023.1.7 to 2023.2.1 and the Synology DSM connection errors out. This happens on restart and even if I delete and re-establish the integration.
I'm on Synology DSM 7.1.1-42962
What version of Home Assistant Core has the issue?
core-2023.2.1
What was the last working version of Home Assistant Core?
core-2023.1.7
What type of installation are you running?
Home Assistant Container
Integration causing the issue
synology_dsm
Link to integration documentation on our website
https://www.home-assistant.io/integrations/synology_dsm
Diagnostics information
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response