Skip to content

Commit

Permalink
Fix import for foscam (home-assistant#9140)
Browse files Browse the repository at this point in the history
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 home-assistant#8940
  • Loading branch information
sdague authored and balloob committed Aug 26, 2017
1 parent 0d3fa59 commit f4d464c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/camera/foscam.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def __init__(self, device_info):
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)
Expand Down

0 comments on commit f4d464c

Please sign in to comment.