pull/164/head
Finbarr Brady 2015-06-02 17:17:36 +01:00
parent ebc0ffd879
commit 3701a82de1
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class HikvisionMotionSwitch(ToggleEntity):
def update(self):
""" Update Motion Detection state """
enabled = self._hikvision_cam.hik_camera.is_motion_detection_enabled()
enabled = self._hikvision_cam.is_motion_detection_enabled()
_LOGGING.info('enabled: %s', enabled)
self._state = STATE_ON if enabled else STATE_OFF