JurajNyiri / HomeAssistant-Tapo-Control

Control for Tapo cameras as a Home Assistant component
Apache License 2.0
1.08k stars 87 forks source link

Motion not work and sensor lost #322

Closed vsimanin closed 1 year ago

vsimanin commented 1 year ago

Description

Logger: custom_components.tapo_control Source: components/onvif/event.py:96 Integration: Tapo: Cameras Control (documentation, issues) First occurred: 20:52:24 (575 occurrences) Last logged: 23:15:53

Unexpected error fetching Tapo resource status data: ONVIFCamera.create_pullpoint_subscription() takes 1 positional argument but 2 were given Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 250, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 206, in _async_update_data return await self.update_method() File "/config/custom_components/tapo_control/init.py", line 234, in async_update_data await setupOnvif(hass, entry) File "/config/custom_components/tapo_control/utils.py", line 550, in setupOnvif hass.data[DOMAIN][entry.entry_id]["eventsSetup"] = await setupEvents( File "/config/custom_components/tapo_control/utils.py", line 560, in setupEvents if await 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

Reproduction Steps

Update HA 2023.4.4 ---> 2023.4.6

Expected behavior

Motion work

If applicable, add error logs.

No response

Device Firmware

Tapo C100 1.1.15 (last)

Using stream component

Yes

Does camera work via official integrations?

Yes

Camera has all attributes filled out in developer tools

Yes

HASS Environment

Home Assistant Supervisor

Search for similar issues

Yes

Additional information

No response

vsimanin commented 1 year ago

Screenshot_2023-04-30-23-22-37-78_c3a231c25ed346e59462e84656a70e50 Screenshot_2023-04-30-23-22-28-66_c3a231c25ed346e59462e84656a70e50

Olegz73 commented 1 year ago

Have the same trouble after update home assistant to 2022.4.6

JurajNyiri commented 1 year ago

Versions 5.1.3 and higher are for Home Assistant 2023.05.x.