mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 00:27:19 +00:00
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:
parent
422be25d22
commit
e6892a4077
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user