Skip to content

Commit

Permalink
Update: Update ONVIF to Zeep 4.0/httpx
Browse files Browse the repository at this point in the history
  • Loading branch information
JurajNyiri committed Oct 28, 2020
1 parent 93e024c commit 03383bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions custom_components/tapo_control/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"codeowners": ["@JurajNyiri"],
"requirements": [
"pytapo==0.11",
"onvif-zeep-async==0.6.0",
"zeep[async]==3.4.0"
"onvif-zeep-async==1.0.0",
"zeep[async]==4.0.0"
],
"dependencies": ["ffmpeg"],
"config_flow": true
Expand Down
5 changes: 0 additions & 5 deletions custom_components/tapo_control/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ async def initOnvifEvents(hass, host, username, password):
if "Manufacturer" not in device_info:
raise Exception("Onvif connection has failed.")

try:
event_service = device.create_events_service()
await event_service.GetServiceCapabilities()
except Exception:
return False
return device
except Exception:
pass
Expand Down

0 comments on commit 03383bb

Please sign in to comment.