Fix import for foscam (#9140)

While waiting for a new pyfoscam release, we can fix this for users
just by changing the import. Foscam devices a pretty widely deployed,
so a regression here is definitely no fun.

Fixes Bug #8940
This commit is contained in:
Sean Dague 2017-08-26 12:08:37 -04:00 committed by Paulus Schoutsen
parent 0d3fa59d77
commit f4d464c008

View file

@ -53,7 +53,7 @@ class FoscamCam(Camera):
self._name = device_info.get(CONF_NAME)
self._motion_status = False
from foscam import FoscamCamera
from foscam.foscam import FoscamCamera
self._foscam_session = FoscamCamera(ip_address, port, self._username,
self._password, verbose=False)