Closed bmdadu closed 1 year ago
I have this error: ONVIFCamera.create_pullpoint_subscription() takes 1 positional argument but 2 were given
Complete log:
Logger: homeassistant.config_entries Source: components/onvif/event.py:96 First occurred: 12:39:31 (11 occurrences) Last logged: 12:57:35
Error setting up entry Camara farola lateral - D0:22:12:DB:22:0E for onvif Error setting up entry Camara porche - D0:22:12:DB:39:90 for onvif Error setting up entry Camara farola cocina - D0:22:12:DB:22:A1 for onvif Error setting up entry Camara farola trasera - D0:22:12:DB:39:CF for onvif Error setting up entry Camara farola fachada - D0:22:12:DB:20:DE for onvif Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup result = await component.async_setup_entry(hass, self) File "/usr/src/homeassistant/homeassistant/components/onvif/init.py", line 33, in async_setup_entry await device.async_setup() File "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 109, in async_setup self.capabilities = await self.async_get_capabilities() File "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 271, in async_get_capabilities pullpoint = await self.events.async_start() File "/usr/src/homeassistant/homeassistant/components/onvif/event.py", line 96, in async_start if not await self.device.create_pullpoint_subscription( TypeError: ONVIFCamera.create_pullpoint_subscription() takes 1 positional argument but 2 were given
TypeError: ONVIFCamera.create_pullpoint_subscription() takes 1 positional argument but 2 were given This error too with my 2 TAPO cameras
Same here with both my TAPO and V380 cameras:
Logger: homeassistant.config_entries Source: components/onvif/event.py:96 First occurred: 7:58:51 AM (6 occurrences) Last logged: 8:04:04 AM
Error setting up entry V380 - gate for onvif Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup result = await component.async_setup_entry(hass, self) File "/usr/src/homeassistant/homeassistant/components/onvif/init.py", line 33, in async_setup_entry await device.async_setup() File "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 109, in async_setup self.capabilities = await self.async_get_capabilities() File "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 271, in async_get_capabilities pullpoint = await self.events.async_start() File "/usr/src/homeassistant/homeassistant/components/onvif/event.py", line 96, in async_start if not await self.device.create_pullpoint_subscription( TypeError: ONVIFCamera.create_pullpoint_subscription() takes 1 positional argument but 2 were given
Issue fixed after updating TAPO custom component:
The problem
Onvif fail to initilize 2 dahua nvr after 2023.4.5 update...works with 2023.4.4 update
What version of Home Assistant Core has the issue?
2023.4.5
What was the last working version of Home Assistant Core?
2023.4.4
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Onvif
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response