Use more up-to-date version of pyfoscam library (#20419)

* Change foscam python library to pyfoscam, which is more up to date and has several critical bug fixes.

* Update requirements_all.txt to match.

* Inserting automatically generated requirements.txt
This commit is contained in:
David Lie authored and Fabian Affolter committed 2019-01-28 08:07:39 +01:00
1 parent d179686edf
commit 29984efd8c
2 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ from homeassistant.helpers import config_validation as cv
_LOGGER = logging.getLogger(__name__)
REQUIREMENTS = ['libpyfoscam==1.0']
REQUIREMENTS = ['pyfoscam==1.2']
CONF_IP = 'ip'
@@ -43,7 +43,7 @@ class FoscamCam(Camera):
def __init__(self, device_info):
"""Initialize a Foscam camera."""
from libpyfoscam import FoscamCamera
from foscam import FoscamCamera
super(FoscamCam, self).__init__()