Skip to content

Exception enabling/disabling motion detection on Foscam FI9800P #22

Description

@i-am-shodan

Enabling or disabling motion detection on a Foscam FI9800P correctly turns it on/off but also causes an exception to be raised.

  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/camera/foscam.py", line 87, in disable_motion_detection
    ret, err = self._foscam_session.disable_motion_detection()
TypeError: 'int' object is not iterable

def enable_motion_detection(self):

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions