Skip to content

Exception enabling/disabling motion detection on Foscam FI9800P #22

@i-am-shodan

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):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions