Revert pyfoscam back to libpyfoscam (#20727)

* 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

* Revert changes until pyfoscam captures recent bug fixes. The pyfoscam version pulled by pip is currently broken.

* Updated requirements_all.txt based on changing pyfoscam back to libpyfoscam.
This commit is contained in:
David Lie 2019-02-03 17:47:38 -05:00 committed by Paulus Schoutsen
parent e90011fd88
commit ce05af2720
2 changed files with 5 additions and 5 deletions

View file

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

View file

@ -605,6 +605,9 @@ libnacl==1.6.1
# homeassistant.components.dyson
libpurecoollink==0.4.2
# homeassistant.components.camera.foscam
libpyfoscam==1.0
# homeassistant.components.device_tracker.mikrotik
librouteros==2.2.0
@ -1014,9 +1017,6 @@ pyflunearyou==1.0.1
# homeassistant.components.light.futurenow
pyfnip==0.2
# homeassistant.components.camera.foscam
pyfoscam==1.2
# homeassistant.components.fritzbox
pyfritzhome==0.4.0