'Update Motion Detection state.'

def update(self):

    enabled = self._hikvision_cam.is_motion_detection_enabled()
    _LOGGING.info('enabled:    %s', enabled)
    self._state = (STATE_ON if enabled else STATE_OFF)
